:root {
  /* Core brand colors */
  --rehorn-green: #414F43;        /* Primary brand (forest/olive) */
  --rehorn-orange: #D8602C;       /* Accent / primary CTA */
  --rehorn-black: #3A383B;        /* Brand black / primary text */
  --rehorn-cream: #E1DBC4;        /* Branded cream / secondary buttons & bands */
  --rehorn-white: #F1F1F1;        /* Off-white primary surface */
  --rehorn-gray: #504E51;         /* Muted gray surface */
  --rehorn-text-muted: #D1D1D1;   /* Secondary text on dark */

  /* Type families */
  --rehorn-font-display: 'Norwester', 'Oswald', sans-serif;
  --rehorn-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --rehorn-font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
}

/* Map the Kadence global palette CSS variables to the brand colors.
   Kadence blocks render with var(--global-paletteN, <kadence-default>), so
   overriding the variables here recolors every block cache-proof, regardless
   of the theme's cached customizer CSS. */

:root,
body {
  --global-palette1: #414F43; /* Forest Green  */
  --global-palette2: #D8602C; /* Orange Accent */
  --global-palette3: #3A383B; /* Brand Black   */
  --global-palette4: #2B2A2B; /* Deep Charcoal */
  --global-palette5: #504E51; /* Gray          */
  --global-palette6: #E1DBC4; /* Cream         */
  --global-palette7: #D1D1D1; /* Light Gray    */
  --global-palette8: #F1F1F1; /* Off White     */
  --global-palette9: #FFFFFF; /* White         */

  --global-palette-highlight: #D8602C;
  --global-palette-highlight-alt: #414F43;
  --global-palette-btn-bg: #D8602C;
  --global-palette-btn-bg-hover: #c4521f;
}

/* =====================================================================
   Global typography application
   The Figma design uses Norwester for all headings + button text,
   Inter for body copy, and IBM Plex Mono for eyebrow/labels.
   ===================================================================== */

body,
.entry-content,
.content-container {
  font-family: var(--rehorn-font-body);
}

/* Editor parity for body copy: the block editor sets its own system font on a wrapper
   between <body> and the paragraph, so the body{} rule above doesn't reach paragraphs on
   the canvas (they render in -apple-system instead of Inter). Assert the brand body font
   directly on the Inter copy classes — mono label classes keep their own font. */

.rehorn-hero-sub, .rehorn-hero-card-p, .rehorn-trust-body, .rehorn-why-body,
.rehorn-ins-body, .rehorn-parts-body, .rehorn-fcta-body, .rehorn-fnews-p,
.rehorn-about-facility-body, .rehorn-about-hero-sub, .rehorn-about-intro-body,
.rehorn-areas-sub, .rehorn-contact-info-sub, .rehorn-detail-hero-sub,
.rehorn-gallery-sub, .rehorn-galtrust-body, .rehorn-pproblem-body, .rehorn-presults-body,
.rehorn-proj-hero-sub, .rehorn-svc-faq-sub, .rehorn-svc-hero-sub, .rehorn-svc-why-sub,
.rehorn-svcabout-body, .rehorn-svccost-card-body, .rehorn-svcexpect-sub {
  font-family: var(--rehorn-font-body);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.kb-title-text,
.kadence-advancedheading-text,
.wp-block-kadence-advancedheading {
  font-family: var(--rehorn-font-display);
  letter-spacing: 0.005em;
}

/* Button text: Norwester, uppercase, tracked (Figma letterSpacing ~10) */

.wp-block-kadence-singlebtn .kb-button,
.wp-block-kadence-advancedbtn .kb-button,
.button, button, input[type="submit"],
.wp-block-button__link {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

/* Eyebrow / mono label utility (applied per-section) */

.rehorn-eyebrow,
.rehorn-eyebrow * {
  font-family: var(--rehorn-font-mono) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Heading spacing reset.
   Kadence's content.min.css gives every `.single-content h1..h6` a prose margin
   (1.5em top / .5em bottom) at specificity (0,2,0) — higher than this theme's
   per-section heading rules (0,1,0) — which silently pushed every heading ~1.5em
   below its eyebrow (the eyebrow is a <span>, unaffected, so the pair drifts
   apart). Headings in this block-built design sit flush under their eyebrow and
   take their spacing from the per-section rules + flex gaps, never from a heading
   top margin. Neutralize Kadence's top margin for our advanced headings. The
   heading-tag selectors give this (0,2,1) so it wins regardless of load order. */

.single-content h1.wp-block-kadence-advancedheading,
.single-content h2.wp-block-kadence-advancedheading,
.single-content h3.wp-block-kadence-advancedheading,
.single-content h4.wp-block-kadence-advancedheading,
.single-content h5.wp-block-kadence-advancedheading,
.single-content h6.wp-block-kadence-advancedheading { margin-top: 0; }

/* Kadence button blocks used as site-wide CTAs.
   Kadence puts the custom class on the anchor itself for single buttons. */

a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-cream,
a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-orange,
a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-outline,
a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-borderless,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-cream,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-orange,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-outline,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-borderless {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  min-height: var(--Button-Height, 52px) !important;
  padding: 0 var(--Padding, 24px) !important;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--Gap, 8px) !important;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  max-width: 100%;
  border-radius: var(--Corner-Round, 999px) !important;
  border-style: solid;
  font-family: var(--rehorn-font-display) !important;
  font-size: 16px !important;
  font-style: normal;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-cream,
a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-orange,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-cream,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-orange {
  color: var(--rehorn-black) !important;
  background: var(--rehorn-cream) !important;
  border: none !important;
}

a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-outline,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-outline {
  color: var(--rehorn-orange) !important;
  background: transparent !important;
  border: 1px solid var(--rehorn-orange) !important;
}

a.wp-block-kadence-singlebtn.kb-button.rehorn-btn-borderless,
.wp-block-kadence-advancedbtn .kb-button.rehorn-btn-borderless {
  color: var(--rehorn-black) !important;
  background: transparent !important;
  border: none !important;
}

a.wp-block-kadence-singlebtn.kb-button .kb-svg-icon-wrap,
.wp-block-kadence-advancedbtn .kb-button .kb-svg-icon-wrap,
a.wp-block-kadence-singlebtn.kb-button .kt-svg-icon-wrap,
.wp-block-kadence-advancedbtn .kb-button .kb-btn-svg-icon {
  width: 14px;
  height: 14px;
}

a.wp-block-kadence-singlebtn.kb-button .kt-btn-inner-text,
.wp-block-kadence-advancedbtn .kb-button .kt-btn-inner-text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

/* =====================================================================
   Component overrides (added section-by-section during the build)
   ===================================================================== */

/* ---------------------------------------------------------------------
   Global Header
   --------------------------------------------------------------------- */

#masthead,
.site-header-wrap,
.site-header-row-container-inner { background-color: var(--rehorn-white); }

/* logo includes the brand wordmark — hide the text site title */

.site-branding .site-title,
#masthead .site-name,
.site-header-main-section-left .site-branding .site-title { display: none; }

/* left group: logo + nav spacing */

.site-main-header-wrap .site-header-row-container-inner,
.site-main-header-inner-wrap {
  padding: 6px clamp(8px, 5vw, 60px);
  min-height: 0;
  width: 100%;
  max-width: none !important;
  margin-left: auto;
  margin-right: auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.site-main-header-wrap .site-container {
  width: 100%;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-header-main-section-left {
  gap: 42px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.site-main-header-wrap .site-main-header-inner-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.site-branding {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  line-height: 0;
}

.site-branding img.kadence-logo-image,
.site-branding img.custom-logo,
.site-branding a.custom-logo-link img,
#masthead .site-branding img {
  width: 104px;
  height: 104px;
  max-width: 104px;
  max-height: 104px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

/* nav links — Norwester, uppercase, tracked */

#masthead .header-navigation .menu > li.menu-item > a,
#masthead .header-navigation a.menu-link,
#masthead .header-menu-container ul.menu > li > a {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px;
  font-weight: 400;
  color: var(--rehorn-black);
}

#masthead .header-navigation .menu > li.menu-item > a:hover { color: var(--rehorn-orange); }

/* right group: call-us html module + button */

.site-header-main-section-right { gap: 22px; -webkit-box-align: center; -ms-flex-align: center; align-items: center; }

.header-html { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 14px; line-height: 1; }

.header-html .rehorn-callus { font-family: var(--rehorn-font-body); font-size: 18px; color: var(--rehorn-black); }

.header-html .rehorn-phone {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 16px;
  color: var(--rehorn-black);
  text-decoration: none;
  white-space: nowrap;
}

/* Contact Us — cream pill */

#masthead .header-button,
.site-header .header-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  min-height: var(--Button-Height, 52px);
  padding: 0 var(--Padding, 24px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: var(--Gap, 8px);
  border-radius: var(--Corner-Round, 999px);
  background: var(--Button-Settings-Secondary-Filled-Default-Background-2, #E1DBC4);
  color: var(--rehorn-black);
  border: none;
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-transition: background .2s ease;
  transition: background .2s ease;
}

#masthead .header-button:hover { background: #d4cdb2; color: var(--rehorn-black); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */

.rehorn-site-footer { position: relative; }

.rehorn-footer--pattern-topo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: .3;
  pointer-events: none;
}

.rehorn-footer--pattern-topo > .site-top-footer-wrap,
.rehorn-footer--pattern-topo > .site-bottom-footer-wrap {
  position: relative;
  z-index: 1;
}

.rehorn-footer__grid {
  display: grid;
  grid-template-columns: 316px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px clamp(24px, 4vw, 56px);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.rehorn-footer__top .site-container,
.rehorn-footer__bottom .site-container {
  width: min(var(--rehorn-content-width), 100% - clamp(24px, 8.3vw, 148px));
  margin-inline: auto;
}

.editor-styles-wrapper .rehorn-footer__editor-banner {
  display: none !important;
}

.editor-styles-wrapper .rehorn-site-footer {
  background: transparent !important;
  border-radius: 0 !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  overflow: visible !important;
}

.editor-styles-wrapper .rehorn-footer__brand,
.editor-styles-wrapper .rehorn-footer__columns,
.editor-styles-wrapper .rehorn-footer__newsletter,
.editor-styles-wrapper .rehorn-footer__cta,
.editor-styles-wrapper .rehorn-footer__social {
  background: transparent !important;
  border: 0 !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

.editor-styles-wrapper .rehorn-footer__brand > .rehorn-fnews-eyebrow,
.editor-styles-wrapper .rehorn-footer__columns > .rehorn-fnews-eyebrow {
  display: none !important;
}

.rehorn-footer__brand,
.rehorn-footer__columns,
.rehorn-footer__newsletter,
.rehorn-footer__cta,
.rehorn-footer__social {
  min-width: 0;
}

.rehorn-footer__brand,
.rehorn-footer__columns,
.rehorn-footer__newsletter,
.rehorn-footer__cta,
.rehorn-footer__social {
  display: grid;
  gap: 16px;
}

.rehorn-footer__brand {
  -ms-flex-line-pack: start;
      align-content: start;
  justify-items: start;
}

.rehorn-footer__columns {
  -ms-flex-line-pack: start;
      align-content: start;
  justify-self: center;
  justify-items: start;
}

.rehorn-footer__newsletter {
  -ms-flex-line-pack: start;
      align-content: start;
  -ms-flex-item-align: stretch;
      align-self: stretch;
  gap: 0;
}

.rehorn-footer__newsletter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.rehorn-footer__social {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: row !important;
          flex-direction: row !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -ms-flex-wrap: wrap !important;
      flex-wrap: wrap !important;
  gap: 42px !important;
  width: 100% !important;
  -ms-flex-item-align: start !important;
      align-self: start !important;
  margin-top: auto;
}

.rehorn-footer__logo-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 316px;
  height: 316px;
  padding: 0;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-inline: 0;
}

.rehorn-footer__logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.rehorn-footer__menus {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.rehorn-footer__menu {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.rehorn-footer__menu-title {
  margin: 0;
  color: var(--button-settings-outline-text-default-text, #F1F1F1);
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: var(--Font-Scale-X-Small, 21px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
}

.rehorn-footer__menu-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-items: start;
}

.rehorn-footer__menu-item {
  margin: 0;
}

.rehorn-footer__menu-link,
.rehorn-footer__legal-link,
.rehorn-footer__menu-note {
  color: inherit;
  text-decoration: none;
}

.rehorn-footer__menu-link:hover,
.rehorn-footer__legal-link:hover {
  color: var(--rehorn-cream);
}

.rehorn-footer__menu-link {
  color: var(--button-settings-outline-text-default-text, #F1F1F1);
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: var(--Font-Scale-X-Small, 21px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
}

.rehorn-footer__menu-note {
  color: var(--button-settings-outline-text-default-text, #F1F1F1);
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: var(--Font-Scale-X-Small, 21px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
}

.rehorn-footer__columns .rehorn-footer__cta {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  margin-top: 24px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  justify-items: start;
}

.rehorn-footer__cta-content {
  display: grid;
  gap: 12px;
  min-width: 0;
  justify-items: start;
  text-align: left;
}

.rehorn-footer__columns .rehorn-fcta-heading {
  margin: 0;
  color: var(--rehorn-white);
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: var(--Font-Scale-X-Small, 21px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
  text-align: left;
}

.rehorn-footer__columns .rehorn-fcta-body {
  margin: 0;
  color: var(--rehorn-white);
  font-family: var(--Typeface-Secondary, Inter);
  font-size: var(--Font-Scale-Paragraph, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-align: left;
}

.rehorn-footer__columns .rehorn-footer__cta-button {
  -ms-flex-item-align: start;
      align-self: start;
  margin-top: 0;
}

.rehorn-footer__social {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
      -ms-flex-direction: row !important;
          flex-direction: row !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  -ms-flex-wrap: wrap !important;
      flex-wrap: wrap !important;
  gap: 42px !important;
  width: 100% !important;
  -ms-flex-item-align: start !important;
      align-self: start !important;
}

.rehorn-footer__social .rehorn-fnews-eyebrow {
  color: var(--Text-Black-Primary-Black, #F1F1F1);
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: var(--Font-Scale-Paragraph, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  width: auto !important;
  text-transform: none;
}

.rehorn-footer__social-links {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-wrap: wrap !important;
      flex-wrap: wrap !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  gap: 32px !important;
  margin-top: 0 !important;
  width: auto !important;
}

.rehorn-footer__social-link {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -webkit-box-align: center !important;
      -ms-flex-align: center !important;
          align-items: center !important;
  color: var(--rehorn-white);
  text-decoration: none;
}

.rehorn-footer__social-link:hover {
  color: var(--rehorn-cream);
}

.rehorn-footer__social-icon-image {
  display: block;
  width: var(--Icon-Size, 32px);
  height: var(--Icon-Size, 32px);
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.rehorn-footer__social-platform {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: var(--Icon-Size, 32px);
  height: var(--Icon-Size, 32px);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  border: 1px solid rgba(241, 241, 241, 0.22);
  border-radius: 999px;
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rehorn-footer__form-preview,
.rehorn-footer__microcopy,
.rehorn-footer__menu-note {
  color: var(--rehorn-white);
  font-size: 15px;
  line-height: 1.55;
}

.rehorn-footer__legal {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  text-align: center;
  width: 100%;
}

.rehorn-footer__legal-menu ul,
.rehorn-footer__legal-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.rehorn-footer__legal-menu li,
.rehorn-footer__legal-links {
  list-style: none;
}

.rehorn-footer__legal-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
}

.rehorn-footer__legal-link-item,
.rehorn-footer__legal-link {
  font-family: var(--rehorn-font-mono);
  font-size: 15px;
}

.rehorn-footer__copyright,
.rehorn-footer__legal-disclaimer {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-mono);
  font-size: 15px;
  text-align: center;
}

/* CTA band (pre-footer synced pattern). Padding / max-width / background are
   block attributes on the row (editable in the editor); only content styling here. */

.rehorn-fcta-col .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  text-align: left;
}

.rehorn-fcta-heading { color: var(--rehorn-green); font-size: 58px; line-height: 1; margin: 0 0 20px; text-align: left; }

.rehorn-fcta-body { color: var(--rehorn-black); font-size: 18px; line-height: 1.6; margin: 0 0 28px; text-align: left; }

.rehorn-fcta-col .wp-block-kadence-advancedbtn,
.rehorn-fcta-col .kb-buttons-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  width: 100%;
}

.rehorn-fcta-col .kb-buttons-wrap > .kb-button,
.rehorn-fcta-col .kb-buttons-wrap > a.kb-button {
  margin-left: 0;
  margin-right: auto;
}

/* Dark band — now Kadence's footer top row (.site-top-footer-wrap). Dark bg is a
   theme mod (Customizer > Footer > Background); here: topo pattern + spacing. */

.site-top-footer-wrap .site-footer-row-container-inner { position: relative; padding-top: 104px; padding-bottom: 80px; }

.site-top-footer-wrap .site-footer-row-container-inner::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat; opacity: .3;
}

.site-top-footer-wrap .site-container { position: relative; z-index: 1; max-width: 1320px; }

/* legal bar tight padding */

.site-bottom-footer-wrap .site-footer-row-container-inner { padding-top: 16px; padding-bottom: 16px; }

.rehorn-flogo img { max-width: 100%; height: auto; }

/* footer nav */

.rehorn-fnav { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; gap: 24px; margin-bottom: 0px; }

.rehorn-fnav a {
  color: var(--button-settings-outline-text-default-text, #F1F1F1);
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: var(--Font-Scale-X-Small, 21px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  text-transform: uppercase;
  text-decoration: none;
}

.rehorn-fnav a:hover { color: var(--rehorn-cream); }

/* newsletter */

.rehorn-fnews-eyebrow {
  display: block;
  color: var(--Text-Brand-Color-Secondary, #E1DBC4);
  font-family: var(--Typeface-Tertiary, "IBM Plex Mono");
  font-size: var(--Font-Scale-X-Small, 21px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.rehorn-fnews-h {
  color: var(--Text-Brand-Color-Primary, #F1F1F1);
  font-family: var(--Typeface-Primary, Norwester);
  font-size: var(--Font-Scale-Medium, 38px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.rehorn-site-footer .rehorn-fnews-h {
  margin: 0 0 4px !important;
}

.rehorn-fnews-p {
  color: var(--Text-Black-Primary-Black, #F1F1F1);
  font-family: var(--Typeface-Secondary, Inter);
  font-size: var(--Font-Scale-Paragraph, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin: 0 0 20px;
  max-width: 520px;
}

/* The subscribe form is now a Gravity Form (id resolved at build time) embedded
   inside .rehorn-fnews-form. GF's Orbital theme injects a per-instance \3c style>
   that scopes its --gf-* defaults to #gform_wrapper_N[data-form-index].gform-theme
   (id-specificity) and loads AFTER this stylesheet, so brand overrides on the
   visible properties use !important — the same approach the contact form uses. */

.rehorn-fnews-form { max-width: 430px; margin-bottom: 30px; }

.rehorn-fnews-form .gform_wrapper { margin: 0; }

/* Stack the email field + Subscribe button to match the design reference. */

.rehorn-fnews-form form { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; gap: 0px; }

.rehorn-fnews-form .gform_body { width: 100%; min-width: 0; }

.rehorn-fnews-form .gform_fields { display: block; grid-template-columns: none; grid-row-gap: 0; }

.rehorn-fnews-form .gfield { margin: 0; }

.rehorn-fnews-form .ginput_container { margin-top: 0; }

.rehorn-fnews-form .gform_footer { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; margin: 0; padding: 0; -ms-flex-item-align: start; align-self: flex-start; }

.rehorn-fnews-form .ginput_container_email {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 0;
  -ms-flex-item-align: stretch;
      align-self: stretch;
}

/* Accessible label kept in the DOM but visually hidden — design shows the
   placeholder only (this also hides GF's "(Required)" text). */

.rehorn-fnews-form .gfield_label {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Email input — dark field with a cream border. */

.rehorn-fnews-form input[type=email] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 52px;
  min-height: var(--Button-Height, 52px);
  background: var(--rehorn-black) !important;
  color: #fff !important;
  border: 1px solid var(--rehorn-cream) !important;
  border-radius: 8px !important;
  padding: 0 16px !important;
  margin-bottom: 20px !important;
  font-family: var(--rehorn-font-body) !important;
  font-size: 15px !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}

.rehorn-fnews-form input[type=email]::-webkit-input-placeholder { color: var(--rehorn-text-muted) !important; opacity: 1; }

.rehorn-fnews-form input[type=email]::-moz-placeholder { color: var(--rehorn-text-muted) !important; opacity: 1; }

.rehorn-fnews-form input[type=email]:-ms-input-placeholder { color: var(--rehorn-text-muted) !important; opacity: 1; }

.rehorn-fnews-form input[type=email]::-ms-input-placeholder { color: var(--rehorn-text-muted) !important; opacity: 1; }

.rehorn-fnews-form input[type=email]::placeholder { color: var(--rehorn-text-muted) !important; opacity: 1; }

.rehorn-fnews-form input[type=email]:focus { border-color: #fff !important; outline: none !important; }

/* Subscribe button uses the shared style-guide button classes. */

.rehorn-fnews-form button.gform_button.rehorn-button,
.rehorn-fnews-form input.gform_button.rehorn-button {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: var(--rehorn-button-min-height, 40px) !important;
  padding: 0 var(--rehorn-button-padding-x, 16px) !important;
  gap: var(--rehorn-button-gap, 4px) !important;
  border-radius: var(--rehorn-button-radius, 999px) !important;
  border-width: var(--rehorn-button-border-width, 1px) !important;
  border-style: solid !important;
  -ms-flex-item-align: start;
      align-self: flex-start;
  margin: 0 !important;
  background: var(--rehorn-button-bg, var(--Button-Settings-Secondary-Filled-Default-Background-2, #E1DBC4)) !important;
  color: var(--rehorn-button-text, var(--rehorn-black)) !important;
  -moz-appearance: none !important;
       appearance: none !important;
  -webkit-appearance: none !important;
  -webkit-box-sizing: border-box !important;
          box-sizing: border-box !important;
}

/* Footer CTA links use the shared style-guide button classes too. */

.site-top-footer-wrap .rehorn-footer__cta-button {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-top: 26px;
}

.site-top-footer-wrap .rehorn-footer__cta-button.rehorn-button--ghost {
  --rehorn-button-text: var(--rehorn-white);
  --rehorn-button-hover-text: var(--rehorn-white);
  --rehorn-button-hover-bg: rgba(255, 255, 255, 0.08);
  --rehorn-button-border-color: transparent;
  --rehorn-button-hover-border-color: transparent;
}

.site-top-footer-wrap .rehorn-footer__cta-button.rehorn-button--outline {
  --rehorn-button-text: var(--rehorn-cream);
  --rehorn-button-border-color: var(--rehorn-cream);
  --rehorn-button-hover-text: var(--rehorn-cream);
  --rehorn-button-hover-bg: rgba(225, 219, 196, 0.08);
  --rehorn-button-hover-border-color: var(--rehorn-cream);
}

.site-top-footer-wrap .rehorn-footer__newsletter-button {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  width: -webkit-fit-content !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  max-width: 100% !important;
}

/* --- Result states, made visible on the dark footer --- */

/* Form-level error box (validation + submission errors). Spans the full row. */

.rehorn-fnews-form .gform_validation_errors {
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1; -ms-flex-preferred-size: 100%; flex-basis: 100%; width: 100%; margin: 0 0 14px; -webkit-box-shadow: none !important; box-shadow: none !important;
  background: rgba(224, 106, 69, 0.14) !important; border: 1px solid #E0613D !important;
  border-radius: 8px !important; padding: 12px 14px !important;
}

.rehorn-fnews-form .gform_validation_errors h2,
.rehorn-fnews-form .gform_submission_error,
.rehorn-fnews-form .gform_validation_errors .gform-icon,
.rehorn-fnews-form .gform_validation_error_link { color: #F4A98F !important; }

.rehorn-fnews-form .gform_validation_error_link { text-decoration: underline; }

/* Per-field validation message ("required" / "valid email") + error state. */

.rehorn-fnews-form .gfield_validation_message,
.rehorn-fnews-form .validation_message {
  color: #F4A98F !important; background: transparent !important; border: none !important;
  font-family: var(--rehorn-font-body); font-size: 13px; margin-top: 6px; padding: 0;
}

.rehorn-fnews-form .gfield_error input[type=email] { border-color: #E0613D !important; }

/* Success / confirmation message — GF ships NO color var for this, so set it
   explicitly or it inherits dark text and vanishes on the dark footer. */

.rehorn-fnews-form .gform_confirmation_wrapper,
.rehorn-fnews-form .gform_confirmation_message {
  color: var(--rehorn-white) !important; font-family: var(--rehorn-font-body);
  font-size: 16px; line-height: 1.6; margin: 0;
}

.rehorn-fnews-form .gform_confirmation_message strong { color: var(--rehorn-cream); }

.rehorn-fnews-form .gform_confirmation_message a { color: var(--rehorn-cream); text-decoration: underline; }

/* AJAX spinner — invert so it's visible on the dark footer. */

.rehorn-fnews-form .gform-loader { -webkit-filter: invert(1) brightness(1.6); filter: invert(1) brightness(1.6); }

/* social */

.rehorn-fsocial { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; -ms-flex-align: center; align-items: center; gap: 32px; width: 100%; }

.rehorn-fsocial span { color: var(--rehorn-white); margin-right: 0; }

.rehorn-fsocial img { width: 32px; height: 32px; }

/* footer Contact button (an anchor inside the nav widget). Scoped under the
   footer wrap so its color beats Kadence's .widget-area a:where(...) rule. */

.site-top-footer-wrap .rehorn-fbtn-outline {
  display: inline-block; margin-top: 26px; padding: 12px 26px; border: 1px solid var(--rehorn-white);
  border-radius: 999px; color: var(--rehorn-white); font-family: var(--rehorn-font-display);
  text-transform: uppercase; letter-spacing: .05em; font-size: 15px; text-decoration: none;
}

.site-top-footer-wrap .rehorn-fbtn-outline:hover { background: var(--rehorn-white); color: var(--rehorn-black); }

/* legal bar (Kadence footer bottom HTML element) */

.rehorn-flegal-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 18px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  text-align: center;
}

.rehorn-flegal-inner span, .rehorn-flegal-inner a { color: var(--rehorn-white); font-family: var(--rehorn-font-mono); font-size: 15px; text-decoration: none; }

.rehorn-flegal-inner a:hover { color: var(--rehorn-cream); }

/* =====================================================================
   Responsive — tablet & mobile
   ===================================================================== */

@media (max-width: 1024px) {
  .rehorn-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rehorn-footer__social { grid-column: auto; }
  .rehorn-footer__newsletter { grid-template-columns: 1fr; }
  .rehorn-footer__social { justify-self: start; }
  .rehorn-svc-inner .kt-inside-inner-col,
  .rehorn-proj-inner .kt-inside-inner-col,
  .rehorn-tst-inner > .kt-inside-inner-col { padding-left: 48px; padding-right: 48px; }
}

@media (max-width: 767px) {
  .rehorn-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .rehorn-footer__logo-link {
    width: min(316px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .rehorn-footer__brand,
  .rehorn-footer__columns,
  .rehorn-footer__newsletter,
  .rehorn-footer__cta,
  .rehorn-footer__social {
    justify-self: start;
    width: 100%;
  }
  .rehorn-footer__columns .rehorn-footer__cta {
    grid-template-columns: 1fr;
    gap: 18px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
    margin-top: 16px;
  }
  .rehorn-footer__cta-content {
    width: 100%;
  }
  .rehorn-footer__social {
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
            flex-direction: column !important;
    -webkit-box-align: start !important;
        -ms-flex-align: start !important;
            align-items: flex-start !important;
    gap: 12px !important;
  }
  .rehorn-footer__social-links {
    gap: 16px !important;
  }
  .rehorn-footer__menu-list {
    gap: 18px;
  }
  .rehorn-footer__legal {
    gap: 10px;
  }
  .rehorn-flegal-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
  /* Section vertical padding lives on the row blocks; these only set the
     mobile horizontal page gutter + custom-grid insets (no block control). */
  .rehorn-trust > .kt-row-column-wrap,
  .rehorn-whyrehorn > .kt-row-column-wrap,
  .rehorn-insurance > .kt-row-column-wrap,
  .rehorn-parts > .kt-row-column-wrap { padding-left: 20px; padding-right: 20px; }
  .rehorn-svc-inner .kt-inside-inner-col { padding: 0 20px; gap: 32px; }
  .rehorn-proj-inner .kt-inside-inner-col { padding: 0 20px; gap: 28px; }
  .rehorn-tst-inner > .kt-inside-inner-col { padding: 0 20px; }

  /* hero */
  .rehorn-hero > .kt-row-column-wrap { padding: 0 20px; }
  .rehorn-hero-text { max-width: none; }
  .rehorn-hero h1 { font-size: 42px; }
  .rehorn-hero-card > .kt-row-column-wrap { max-width: none; margin: -30px 16px 0; padding: 28px 24px; }
  .rehorn-hero-card h3 { font-size: 30px; }

  /* heading sizes */
  .rehorn-fcta-heading { font-size: 44px; }
  .rehorn-fnews-h { font-size: 28px; }
  .rehorn-fsocial { -ms-flex-wrap: wrap; flex-wrap: wrap; }
}

/* Rehorn custom editable button block.
   This is the style-guide-driven block used for new CTAs across the site. */

.rehorn-button-block {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}

.rehorn-button-block--align-left {
  margin-right: auto;
  margin-left: 0;
}

.rehorn-button-block--align-center {
  margin-left: auto;
  margin-right: auto;
}

.rehorn-button-block--align-right {
  margin-left: auto;
  margin-right: 0;
}

.rehorn-button {
  --rehorn-button-bg: transparent;
  --rehorn-button-text: var(--rehorn-black);
  --rehorn-button-icon: currentColor;
  --rehorn-button-border-color: transparent;
  --rehorn-button-border-width: 1px;
  --rehorn-button-radius: 999px;
  --rehorn-button-min-height: 52px;
  --rehorn-button-padding-x: 24px;
  --rehorn-button-gap: 8px;
  --rehorn-button-font-size: 16px;
  --rehorn-button-letter-spacing: 0.08em;
  --rehorn-button-icon-size: 14px;
  --rehorn-button-hover-bg: var(--rehorn-button-bg);
  --rehorn-button-hover-text: var(--rehorn-button-text);
  --rehorn-button-hover-icon: var(--rehorn-button-icon);
  --rehorn-button-hover-border-color: var(--rehorn-button-border-color);

  display: -webkit-inline-box;

  display: -ms-inline-flexbox;

  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: var(--rehorn-button-min-height);
  padding: 0 var(--rehorn-button-padding-x);
  gap: var(--rehorn-button-gap);
  border-radius: var(--rehorn-button-radius);
  border: var(--rehorn-button-border-width) solid var(--rehorn-button-border-color);
  background: var(--rehorn-button-bg);
  color: var(--rehorn-button-text);
  font-family: var(--rehorn-font-display);
  font-size: var(--rehorn-button-font-size);
  font-style: normal;
  font-weight: 400;
  letter-spacing: var(--rehorn-button-letter-spacing);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: background-color .2s ease, color .2s ease, border-color .2s ease, -webkit-transform .2s ease;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, -webkit-transform .2s ease;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, -webkit-transform .2s ease;
}

.rehorn-button:hover {
  background: var(--rehorn-button-hover-bg);
  border-color: var(--rehorn-button-hover-border-color);
  color: var(--rehorn-button-hover-text);
}

.rehorn-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.rehorn-button__text {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.rehorn-button__icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: var(--rehorn-button-icon-size);
  height: var(--rehorn-button-icon-size);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: var(--rehorn-button-icon);
}

.rehorn-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rehorn-button__icon--google {
  width: 26px;
  height: 26px;
}

.rehorn-button:hover .rehorn-button__icon {
  color: var(--rehorn-button-hover-icon);
}

.rehorn-button--primary {
  --rehorn-button-bg: var(--rehorn-orange);
  --rehorn-button-text: var(--rehorn-white);
  --rehorn-button-border-color: var(--rehorn-orange);
  --rehorn-button-hover-bg: #c4521f;
  --rehorn-button-hover-text: var(--rehorn-white);
  --rehorn-button-hover-border-color: #c4521f;
}

.rehorn-button--secondary {
  --rehorn-button-bg: var(--rehorn-cream);
  --rehorn-button-text: var(--rehorn-black);
  --rehorn-button-border-color: var(--rehorn-cream);
  --rehorn-button-hover-bg: #d4cdb2;
  --rehorn-button-hover-text: var(--rehorn-black);
  --rehorn-button-hover-border-color: #d4cdb2;
}

.rehorn-button--outline {
  --rehorn-button-bg: transparent;
  --rehorn-button-text: var(--rehorn-orange);
  --rehorn-button-border-color: var(--rehorn-orange);
  --rehorn-button-hover-bg: rgba(216, 96, 44, 0.08);
  --rehorn-button-hover-text: var(--rehorn-orange);
  --rehorn-button-hover-border-color: var(--rehorn-orange);
}

.rehorn-button--ghost {
  --rehorn-button-bg: transparent;
  --rehorn-button-text: var(--rehorn-black);
  --rehorn-button-border-color: transparent;
  --rehorn-button-hover-bg: rgba(58, 56, 59, 0.06);
  --rehorn-button-hover-text: var(--rehorn-black);
  --rehorn-button-hover-border-color: transparent;
}

.rehorn-button--link {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rehorn-orange);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rehorn-button--link:hover {
  background: transparent;
  color: #c4521f;
}

.rehorn-button--icon-only {
  width: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.rehorn-button--small {
  --rehorn-button-min-height: 40px;
  --rehorn-button-padding-x: 16px;
  --rehorn-button-gap: 4px;
  --rehorn-button-font-size: 14px;
  --rehorn-button-icon-size: 12px;
}

.rehorn-button--medium {
  --rehorn-button-min-height: 52px;
  --rehorn-button-padding-x: 24px;
  --rehorn-button-gap: 8px;
  --rehorn-button-font-size: 16px;
  --rehorn-button-icon-size: 14px;
}

.rehorn-button--large {
  --rehorn-button-min-height: 64px;
  --rehorn-button-padding-x: 32px;
  --rehorn-button-gap: 8px;
  --rehorn-button-font-size: 18px;
  --rehorn-button-icon-size: 16px;
}

.rehorn-button--icon-left {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.rehorn-button--icon-right {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
}

.rehorn-button__text.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rehorn-paragraph {
  --rehorn-paragraph-bg: transparent;
  --rehorn-paragraph-regular-color: var(--rehorn-black);
  --rehorn-paragraph-bold-color: var(--rehorn-orange);
  --rehorn-paragraph-font-family: var(--rehorn-font-body);
  --rehorn-paragraph-font-size: var(--Font-Scale-Paragraph, 18px);
  --rehorn-paragraph-line-height: 1.6;
  --rehorn-paragraph-letter-spacing: 0;
  --rehorn-paragraph-font-weight: 400;
  --rehorn-paragraph-max-width: none;
  --rehorn-paragraph-margin-bottom: 18px;
  display: block;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0 0 var(--rehorn-paragraph-margin-bottom);
  padding: 0;
  max-width: var(--rehorn-paragraph-max-width);
  background: var(--rehorn-paragraph-bg);
  color: var(--rehorn-paragraph-regular-color);
  font-family: var(--rehorn-paragraph-font-family);
  font-size: var(--rehorn-paragraph-font-size);
  font-style: normal;
  font-weight: var(--rehorn-paragraph-font-weight);
  line-height: var(--rehorn-paragraph-line-height);
  letter-spacing: var(--rehorn-paragraph-letter-spacing);
  text-align: left;
}

.rehorn-paragraph > p {
  margin: 0;
  font: inherit;
}

.rehorn-paragraph strong,
.rehorn-paragraph b {
  color: var(--rehorn-paragraph-bold-color);
  font-weight: 700;
}

.rehorn-paragraph a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.rehorn-paragraph--align-left { text-align: left; }

.rehorn-paragraph--align-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.rehorn-paragraph--align-right {
  text-align: right;
  margin-left: auto;
}

.rehorn-paragraph--body-large {
  font-size: var(--Font-Scale-X-Small, 21px);
  line-height: 1.55;
  --rehorn-paragraph-max-width: 64ch;
  --rehorn-paragraph-margin-bottom: 24px;
}

.rehorn-paragraph--body {
  font-size: var(--Font-Scale-Paragraph, 18px);
  line-height: 1.6;
  --rehorn-paragraph-max-width: 70ch;
}

.rehorn-paragraph--body-small {
  font-size: 16px;
  line-height: 1.55;
  --rehorn-paragraph-max-width: 60ch;
  --rehorn-paragraph-margin-bottom: 14px;
}

.rehorn-paragraph--intro {
  font-size: var(--Font-Scale-X-Small, 21px);
  line-height: 1.55;
  --rehorn-paragraph-max-width: 72ch;
  --rehorn-paragraph-margin-bottom: 24px;
}

.rehorn-paragraph--caption {
  font-size: 14px;
  line-height: 1.5;
  --rehorn-paragraph-regular-color: var(--rehorn-gray);
  --rehorn-paragraph-max-width: 48ch;
  --rehorn-paragraph-margin-bottom: 12px;
}

.rehorn-paragraph--legal {
  font-family: var(--rehorn-font-mono);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  --rehorn-paragraph-max-width: 56ch;
  --rehorn-paragraph-margin-bottom: 10px;
}

.rehorn-paragraph--eyebrow {
  font-family: var(--rehorn-font-mono);
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  --rehorn-paragraph-max-width: 64ch;
  --rehorn-paragraph-margin-bottom: 8px;
}

.rehorn-paragraph--custom {
  --rehorn-paragraph-max-width: none;
}

.rehorn-paragraph__content {
  display: inline;
}

/* Shared wrapper for the variation-aware Rehorn Testimonials block. The old
   page-specific selectors still do most of the visual work; these rules keep the
   new outer block wrappers stable in both the editor and the front end. */

.rehorn-testimonials {
  position: relative;
  width: 100%;
}

.rehorn-testimonials__inner {
  width: 100%;
  margin-inline: 0;
  margin-block: 64px;
}

.rehorn-testimonials__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  margin-bottom: 89px;
}

.rehorn-testimonials__description {
  margin: 0;
}

.rehorn-testimonials--homepage .rehorn-testimonials__header {
  display: grid;
  grid-template-columns: -webkit-max-content auto;
  grid-template-columns: max-content auto;
  gap: 89px !important;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.rehorn-testimonials--homepage .rehorn-testimonials__header-left {
  padding-top: 0;
}

.rehorn-testimonials--homepage .rehorn-testimonials__grid {
  margin-top: 89px;
}

.rehorn-testimonials--homepage .rehorn-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rehorn-testimonials--homepage .rehorn-testimonials__title.rehorn-tst-heading {
  margin: 0 !important;
}

.rehorn-testimonials--project-details .rehorn-testimonials__title.rehorn-tstm-heading {
  color: var(--rehorn-white);
}

.rehorn-testimonials--service-details {
  background-color: #F1F1F1;
}

.rehorn-testimonials--service-details .rehorn-testimonials__title.rehorn-tstm-heading,
.rehorn-testimonials--service-details .rehorn-testimonials__description,
.rehorn-testimonials--service-details .rehorn-tstm-heading,
.rehorn-testimonials--service-details .rehorn-tstm-eyebrow,
.rehorn-testimonials--service-details .rehorn-tstm-quote-p,
.rehorn-testimonials--service-details .rehorn-tstm-quote > p,
.rehorn-testimonials--service-details .rehorn-tstm-name,
.rehorn-testimonials--service-details .rehorn-tstm-role {
  color: #3A383B;
}

.rehorn-testimonials--project-details .rehorn-testimonials__title.rehorn-tstm-heading,
.rehorn-testimonials--project-details .rehorn-testimonials__description,
.rehorn-testimonials--project-details .rehorn-tstm-heading,
.rehorn-testimonials--project-details .rehorn-tstm-eyebrow,
.rehorn-testimonials--project-details .rehorn-tstm-quote-p,
.rehorn-testimonials--project-details .rehorn-tstm-quote > p,
.rehorn-testimonials--project-details .rehorn-tstm-name,
.rehorn-testimonials--project-details .rehorn-tstm-role {
  color: #F1F1F1;
}

.rehorn-testimonials--service-details .rehorn-testimonials__featured,
.rehorn-testimonials--project-details .rehorn-testimonials__featured {
  width: 100%;
}

/* Service details carousel: slides share one grid cell so the band keeps the
   height of the tallest review while they cross-fade (no layout jump). The
   arrow buttons reuse the Services Scroller .rehorn-svc-arrow styling. */

.rehorn-tstm-slides {
  display: grid;
}

.rehorn-tstm-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.5s ease, visibility 0.5s ease;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.rehorn-tstm-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.rehorn-tstm-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 11px;
  padding-top: 48px;
}

@media (max-width: 900px) {
  .rehorn-tstm-nav {
    padding-top: 32px;
  }

  .rehorn-tstm-nav .rehorn-svc-arrow {
    width: 52px;
    height: 52px;
  }

  .rehorn-tstm-nav .rehorn-svc-arrow-divider {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rehorn-tstm-slide {
    -webkit-transition: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------
   Homepage
   --------------------------------------------------------------------- */

/* The homepage is long, so it doesn't need the sticky "footer on bottom"
   min-height (which would otherwise stretch content to fill very tall viewports). */

.home #wrapper {
  min-height: 0;
}

/* Nested Kadence rows inside a column must fill the column width — the
   column's inner flex container would otherwise shrink-wrap them, collapsing
   their grid columns to min-content (text breaking character-by-character). */

.kt-inside-inner-col {
  width: 100%;
}

.wp-block-kadence-column {
  min-width: 0;
}

.kt-inside-inner-col > .wp-block-kadence-rowlayout,
.kt-inside-inner-col > .wp-block-kadence-rowlayout > [id^="kt-layout-id"],
.kt-inside-inner-col
  > .wp-block-kadence-rowlayout
  > [id^="kt-layout-id"]
  > .kt-row-column-wrap {
  width: 100%;
}

/* ---- Hero ----
   Background photo, dark overlay, and min-height are set on the row block
   (Background + Height panels) so they're editable in Gutenberg. */

.rehorn-hero {
  position: relative;
  min-height: clamp(640px, 72vh, 720px);
}

.rehorn-hero > .kt-row-column-wrap {
  -ms-flex-line-pack: start;
      align-content: flex-start;
  padding-top: clamp(52px, 5vw, 78px);
}

.rehorn-hero-text {
  max-width: 560px;
}

.rehorn-hero h1 {
  -ms-flex-item-align: stretch;
      align-self: stretch;
  color: var(--Text-Brand-Color-Primary, #f1f1f1);
  font-family: var(--Typeface-Primary, Norwester);
  font-size: var(--Font-Scale-XX-Large, 90px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
  max-width: 560px;
  text-transform: uppercase;
}

.rehorn-hero .rehorn-hero-sub {
  color: var(--rehorn-white);
  font-size: 17px;
  line-height: 1.45;
  max-width: 500px;
  margin: 20px 0 0;
}

/* Torn section edges are defined together in the "Section torn-paper edges" block below. */

/* hero CTA card — green, hangs below hero, right-aligned */

.rehorn-hero-card {
  position: relative;
  z-index: 6;
}

/* Card fill (green), padding and topo texture are NATIVE row attributes now
   (Background + Padding panels), so they render on the editor canvas too. Only the
   border-radius / overflow / centering stay here — matched in BOTH the editor
   (class + content-wrap are the same element) and the front end (wrap is a child). */

.rehorn-hero-card > .kt-row-column-wrap,
.rehorn-hero-card.kt-row-column-wrap {
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.rehorn-hero-card .rehorn-eyebrow {
  display: block;
  color: var(--rehorn-cream);
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.rehorn-hero-card h3 {
  color: #fff;
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 0.98;
  margin: 0;
  max-width: 100%;
  white-space: nowrap;
}

.rehorn-hero-card .rehorn-hero-card-p {
  -ms-flex-item-align: stretch;
      align-self: stretch;
  color: var(--rehorn-white);
  font-family: var(--Typeface-Secondary, Inter);
  font-size: var(--Font-Scale-Paragraph, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  margin: 16px 0 0;
  max-width: 31ch;
}

.rehorn-hero-card-cta .kt-inside-inner-col {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* ---- Trust feature row ----
   Vertical padding is set on the row block; horizontal page gutter is below. */

.rehorn-trust {
  position: relative;
}

.rehorn-trust .rehorn-trust-col .kt-inside-inner-col {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.rehorn-trust .rehorn-badge-icon {
  width: 150px;
  height: 150px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--rehorn-green);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin: 0 auto 24px;
}

.rehorn-trust .rehorn-badge-icon img {
  width: 102px;
  height: 88px;
  -o-object-fit: contain;
     object-fit: contain;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.rehorn-trust .rehorn-trust-title {
  color: var(--rehorn-orange);
  font-size: 36px;
  line-height: 1.05;
  margin: 0 0 16px;
  text-align: center;
}

.rehorn-trust .rehorn-trust-body {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
}

/* ---- Stats band ----
   Padding + min-height are on the row block; cells are flush (no column gutter). */

.rehorn-stats > .kt-row-column-wrap {
  gap: 0;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.rehorn-stats .rehorn-stat-cell .kt-inside-inner-col {
  padding: 0 clamp(96px, 9vw, 132px) 0 clamp(56px, 5vw, 80px);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  text-align: left;
}

.rehorn-stats .rehorn-stat-cell:last-child .kt-inside-inner-col {
  padding-right: clamp(96px, 9vw, 132px);
}

.rehorn-stats .rehorn-stat-cell {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.rehorn-stats .rehorn-stat-cell:last-child {
  border-right: none;
}

.rehorn-stats .rehorn-stat-value {
  display: block;
  color: #fff;
  font-size: 50px;
  line-height: 1;
  margin: 0 0 5px;
}

.rehorn-stats .rehorn-stat-label {
  display: block;
  font-family: var(--rehorn-font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---- Services ---- (band padding is on the row block) */

.rehorn-svc-inner .kt-inside-inner-col {
  padding: 0 64px;
  gap: 32px;
}

.rehorn-svc-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-size: 18px;
  margin-bottom: 8px;
}

.rehorn-svc-heading {
  color: var(--rehorn-green);
  font-size: 50px;
  line-height: 1.02;
  margin: 0;
  max-width: 760px;
}

.rehorn-svc-head-right .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-right: 0;
}

.rehorn-svc-head-right .wp-block-kadence-advancedbtn,
.rehorn-svc-head-right .kb-buttons-wrap {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  width: 100%;
}

.rehorn-svc-head-right .wp-block-kadence-singlebtn,
.rehorn-svc-head-right .wp-block-kadence-advancedbtn .kb-button {
  margin-left: auto;
  margin-right: 0;
}

/* keep header pill buttons on one line at their natural width */

.rehorn-svc-head-right .kb-button,
.rehorn-proj-head-right .kb-button {
  white-space: nowrap;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
}

.rehorn-svc-scroller {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  overflow-y: visible;
  padding-bottom: 8px;
  padding-top: 64px;
  -ms-scroll-snap-type: none;
      scroll-snap-type: none;
  -webkit-overflow-scrolling: auto;
  -ms-touch-action: pan-y;
      touch-action: pan-y;
}

.rehorn-svc-scroller::-webkit-scrollbar {
  height: 6px;
}

.rehorn-svc-scroller::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.rehorn-svc-card {
  position: relative;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 332px;
          flex: 0 0 332px;
  height: 514px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  display: block;
}

.rehorn-svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.8)), color-stop(46%, rgba(0, 0, 0, 0)));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 46%);
}

.rehorn-svc-card-title {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 32px;
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
  max-width: 85%;
}

.rehorn-svc-arrows {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 11px;
  padding-top: 64px;
}

.rehorn-svc-arrow {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
}

.rehorn-svc-arrow img {
  width: 18px;
  height: 18px;
}

.rehorn-svc-arrow-left {
  background: transparent;
}

.rehorn-svc-arrow-right {
  background: var(--rehorn-cream);
}

.rehorn-svc-arrow-divider {
  width: 1px;
  height: 50px;
  background: rgba(58, 56, 59, 0.2);
}

/* ---- Button variants ---- */

.kb-button.rehorn-btn-cream,
.kb-btnhcardbtn1,
.kb-btnsvcbtn1 {
  background: var(--rehorn-cream) !important;
  color: var(--rehorn-black) !important;
  border: none !important;
  border-radius: 999px !important;
}

.kb-button.rehorn-btn-cream:hover,
.kb-btnhcardbtn1:hover,
.kb-btnsvcbtn1:hover {
  background: #d4cdb2 !important;
  color: var(--rehorn-black) !important;
}

/* ---- Van photo band ---- (background image, height, and padding are on the row block;
   the green torn edge below it is on .rehorn-whyrehorn::before in the edges block) */

.rehorn-vanband {
  position: relative;
}

/* ---- Why Rehorn green band ---- (vertical padding is on the row block) */

/* topo texture is a native row bgImg attribute now (renders in the editor too) */

.rehorn-whyrehorn {
  position: relative;
}

.rehorn-why-eyebrow {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.rehorn-why-heading {
  -ms-flex-item-align: stretch;
      align-self: stretch;
  font-family: var(--Typeface-Primary, Norwester);
  font-size: var(--Font-Scale-Large, 50px);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  margin: 0 0 24px;
}

.rehorn-why-body {
  -ms-flex-item-align: stretch;
      align-self: stretch;
  font-family: var(--Typeface-Secondary, Inter);
  font-size: var(--Font-Scale-Paragraph, 18px);
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin: 0 0 28px;
  max-width: 780px;
}

.rehorn-why-body p {
  display: inline;
  margin: 0;
  font: inherit;
}

.rehorn-inline-run {
  display: inline;
  font: inherit;
}

.rehorn-inline-run--strong {
  font-weight: 700;
}

.rehorn-inline-run--cream {
  color: var(--rehorn-cream);
}

.rehorn-inline-run--orange {
  color: var(--rehorn-orange);
}

.rehorn-why-left .wp-block-kadence-advancedbtn,
.rehorn-why-left .kb-buttons-wrap,
.rehorn-why-left .kb-btnswhybtns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-item-align: start;
      align-self: flex-start;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
}

.rehorn-why-left .kb-btnswhybtns > .kb-button {
  margin: 0;
}

.rehorn-why-left .kb-btnswhybtns > .kb-button,
.rehorn-why-left .kb-btnswhybtns > a.kb-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: var(--Button-Height, 52px);
  padding: 0 var(--Padding, 24px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--Gap, 8px);
  border-radius: var(--Corner-Round, 999px);
  background: var(--Button-Settings-Filled-Default-Background, #d8602c);
}

.rehorn-why-right .kt-inside-inner-col {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* why-list is now a Kadence Icon List (.rehorn-why-card on the iconlist wrap);
   the custom Figma star is the list marker, drawn in CSS. */

.rehorn-why-card {
  background: var(--rehorn-black);
  border-radius: 8px;
  padding: 32px;
}

.rehorn-why-card .kt-svg-icon-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.rehorn-why-card .kt-svg-icon-list-item-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 0;
}

.rehorn-why-card .kadence-dynamic-icon,
.rehorn-why-card .kt-svg-icon-list-single {
  display: none !important;
}

.rehorn-why-card .kt-svg-icon-list-item-wrap::before {
  content: "";
  width: 24px;
  height: 24px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 24px;
          flex: 0 0 24px;
  margin-top: 2px;
  background: url(../img/feature-list-star-icon.svg) center / contain no-repeat;
}

.rehorn-why-card .kt-svg-icon-list-text {
  color: var(--rehorn-cream);
  font-family: var(--rehorn-font-mono);
  font-size: 13px;
  line-height: 1.7;
}

/* ---- Insurance ---- (vertical padding is on the row block) */

.rehorn-insurance-img img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.rehorn-ins-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-size: 18px;
  margin-bottom: 8px;
}

.rehorn-ins-heading {
  color: var(--rehorn-green);
  font-size: 50px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.rehorn-ins-body {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 600px;
}

.rehorn-ins-text .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.rehorn-ins-text .kb-buttons-wrap,
.rehorn-ins-text .wp-block-kadence-advancedbtn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-item-align: start;
      align-self: flex-start;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
}

.rehorn-ins-text .wp-block-kadence-singlebtn,
.rehorn-ins-text .wp-block-kadence-advancedbtn .kb-button {
  margin-left: 0;
  margin-right: auto;
}

/* ---- Featured projects ---- (band padding is on the row block) */

.rehorn-proj-inner .kt-inside-inner-col {
  padding: 0 144px;
  gap: 42px;
}

.rehorn-proj-section-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-size: 18px;
  margin-bottom: 8px;
}

.rehorn-proj-section-heading {
  color: var(--rehorn-green);
  font-size: 56px;
  line-height: 1;
  margin: 0;
}

.rehorn-proj-head-right .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-right: 0;
}

.rehorn-proj-head-right .wp-block-kadence-advancedbtn,
.rehorn-proj-head-right .kb-buttons-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -ms-flex-item-align: end;
      align-self: flex-end;
  width: 100%;
  max-width: 100%;
}

.rehorn-proj-head-right .wp-block-kadence-singlebtn,
.rehorn-proj-head-right .wp-block-kadence-advancedbtn .kb-button {
  margin-left: auto;
  margin-right: 0;
}

.rehorn-projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.rehorn-proj-big {
  position: relative;
  min-height: 596px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  text-decoration: none;
}

.rehorn-proj-big::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(
    linear,
    left bottom, left top,
    from(rgba(0, 0, 0, 0.85)),
    color-stop(30%, rgba(0, 0, 0, 0.4)),
    color-stop(60%, rgba(0, 0, 0, 0))
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0) 60%
  );
}

.rehorn-proj-big-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
}

.rehorn-proj-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

.rehorn-proj-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 8px;
  overflow: hidden;
  min-height: 286px;
  text-decoration: none;
}

.rehorn-proj-small-img {
  background-size: cover;
  background-position: center;
}

.rehorn-proj-small-panel {
  background: var(--rehorn-green);
  padding: 28px 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.rehorn-proj-eyebrow {
  display: block;
  color: var(--rehorn-cream);
  font-family: var(--rehorn-font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.rehorn-proj-title {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1.05;
  margin: 0 0 16px;
  padding-bottom: 18px;
}

.rehorn-proj-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.rehorn-proj-link img {
  width: 16px;
  height: 16px;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

/* ---- Parts / experience ---- (vertical padding is on the row block) */

/* topo texture is a native row bgImg attribute now (renders in the editor too) */

.rehorn-parts {
  position: relative;
}

.rehorn-parts-text > .kt-inside-inner-col,
.rehorn-parts-text .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: min(100%, 560px);
  margin-inline: auto;
  text-align: center;
}

.rehorn-parts-text .kt-inside-inner-col > * {
  width: 100%;
}

.rehorn-parts-text .kt-inside-inner-col > .rehorn-button {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.rehorn-parts-eyebrow {
  display: block;
  color: var(--rehorn-cream);
  font-size: 18px;
  margin-bottom: 8px;
}

.rehorn-parts-heading {
  color: var(--rehorn-white);
  font-size: 50px;
  line-height: 1.05;
  margin: 0 0 20px;
  text-align: center;
  max-width: 540px;
}

.rehorn-parts-body {
  color: var(--rehorn-white);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 14px;
  max-width: 540px;
  text-align: center;
}

.rehorn-parts-text .wp-block-kadence-advancedbtn,
.rehorn-parts-text .kb-buttons-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-item-align: center;
      align-self: center;
  width: min(540px, 100%);
  max-width: 540px;
  margin: 14px auto 0;
}

.rehorn-parts-text .kb-buttons-wrap > .kb-button,
.rehorn-parts-text .kb-buttons-wrap > a.kb-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

.rehorn-parts-img img {
  border-radius: 8px;
  width: 100%;
  height: auto;
}

/* ---- Testimonials ---- full-bleed row; header + cards are nested Kadence rows.
   Band padding is on the section row block; the page gutter is on the inner col. */

.rehorn-tst-inner > .kt-inside-inner-col {
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

.rehorn-home-testimonials-header {
  margin-bottom: 96px;
}

.rehorn-home-testimonials-header > .kt-row-column-wrap {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

.rehorn-tst-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-family: var(--rehorn-font-mono);
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.rehorn-tst-heading {
  color: var(--rehorn-green);
  font-size: 50px;
  line-height: 1.02;
  margin: 0 !important;
  max-width: 680px;
}

.rehorn-tst-head-right .kt-inside-inner-col {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: right;
}

.rehorn-tst-pill {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  min-height: var(--Button-Height, 52px);
  padding: 0 var(--Padding, 24px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--Gap, 8px);
  border-radius: 999px;
  border: 1px solid var(--button-settings-outline-text-default-icon, #f1f1f1);
  background: var(
    --Button-Settings-Secondary-Filled-Default-Background-2,
    #e1dbc4
  );
  color: var(--button-settings-outline-text-default-text, #3a383b);
  font-family: var(--Button-Text-Font-Style, Norwester);
  font-size: var(--Button-Text-Font-Size, 16px);
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1.6px;
  line-height: normal;
  white-space: nowrap;
  -ms-flex-item-align: end;
      align-self: flex-end;
  margin-left: auto;
  text-decoration: none;
  text-transform: uppercase;
}

.rehorn-tst-pill .rehorn-button__icon {
  width: 26px;
  height: 26px;
}

.rehorn-tst-pill .rehorn-button__icon img {
  width: 26px;
  height: 26px;
  display: block;
}

.rehorn-tst-grid > .kt-row-column-wrap {
  gap: 72px;
}

.rehorn-tst-card .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
  height: 100%;
}

.rehorn-tst-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}

.rehorn-tst-stars img {
  width: 28px;
  height: 28px;
}

.rehorn-tst-text {
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-mono);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.rehorn-tst-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  margin-top: auto;
}

.rehorn-tst-avatar {
  width: 64px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 64px;
          flex: 0 0 64px;
  margin: 0;
}

.rehorn-tst-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  background: transparent;
}

.rehorn-tst-name {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 20px;
}

/* ---------------------------------------------------------------------
   Featured testimonial — "What Our Customers Say" dark band (Projects page).
   Figma 4445:6728. Brand-black band + topographic pattern overlay; a big orange
   quote mark, the customer's quote, and an attribution column (rating stars +
   avatar + name + role). Content is the rehorn/testimonial ACF block; the band
   chrome (dark bg, padding) lives on the .rehorn-ftst row.
   --------------------------------------------------------------------- */

.rehorn-home-testimonials {
  position: relative;
  /* background-color: #f1f1f1; */
}

/* Full-bleed topo overlay. The dark band background sits on the full-width
   .kb-row-layout-wrap, while .rehorn-contained caps the inner .kt-row-column-wrap
   at 1440 — so the pattern must live on the OUTER wrap to span the whole section
   (not just the content column). The .kb-row-layout-wrap. prefix also raises
   specificity to override Kadence's clearfix ::before (display:table). */

.kb-row-layout-wrap.rehorn-home-testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
}

.kb-row-layout-wrap.rehorn-home-testimonials > .kt-row-column-wrap {
  position: relative;
  z-index: 1;
}

/* heading + testimonial stacked with the Figma 64px gap */

.rehorn-tstm-inner > .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 64px;
}

.rehorn-home-testimonials .rehorn-tstm-heading {
  color: var(--rehorn-white);
  font-size: 50px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

/* quote row: orange mark + quote + attribution */

.rehorn-tstm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 32px;
}

.rehorn-tstm-mark {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  color: var(--rehorn-orange);
  font-family: var(--rehorn-font-display);
  font-size: clamp(96px, 11vw, 150px);
  line-height: 0.8;
  margin-top: -0.12em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.rehorn-tstm-quote {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
  padding-top: 16px;
}

.rehorn-tstm-quote .rehorn-tstm-quote-p,
.rehorn-tstm-quote > p {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-mono);
  font-size: 21px;
  line-height: 1.55;
  margin: 0;
}

/* attribution: 384px column with an orange top rule */

.rehorn-tstm-attr {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 384px;
          flex: 0 0 384px;
  max-width: 384px;
  border-top: 2px solid var(--rehorn-orange);
  padding-top: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.rehorn-tstm-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.rehorn-tstm-star {
  width: 32px;
  height: 32px;
  display: block;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 32px;
          flex: 0 0 32px;
}

/* Half star = a muted base star with an orange star clipped to its left half.
   (Solid fills + CSS clip — no SVG gradient url(#id), which breaks in the editor
   iframe's <base> context.) */

.rehorn-tstm-star--half {
  position: relative;
}

.rehorn-tstm-star--half .rehorn-tstm-star-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.rehorn-tstm-star--half .rehorn-tstm-star-layer--fill {
  clip-path: inset(0 50% 0 0);
}

.rehorn-tstm-attrinner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  padding-top: 20px;
}

.rehorn-tstm-avatar {
  width: 68px;
  height: 68px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 68px;
          flex: 0 0 68px;
  border-radius: 999px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.rehorn-tstm-avatar--initial {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: var(--rehorn-green);
  color: var(--rehorn-cream);
  font-family: var(--rehorn-font-display);
  font-size: 28px;
  text-transform: uppercase;
}

.rehorn-tstm-attrtext {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.rehorn-tstm-name {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
}

.rehorn-tstm-role {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .rehorn-tstm-inner > .kt-inside-inner-col {
    gap: 40px;
  }
  .rehorn-home-testimonials .rehorn-tstm-heading {
    font-size: 34px;
  }
  .rehorn-tstm {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 8px;
  }
  .rehorn-tstm-mark {
    font-size: 84px;
  }
  .rehorn-tstm-quote {
    padding-top: 0;
  }
  .rehorn-tstm-attr {
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
    max-width: none;
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  .home .rehorn-hero > .kt-row-column-wrap,
  .home .rehorn-trust > .kt-row-column-wrap,
  .home .rehorn-stats > .kt-row-column-wrap,
  .home .rehorn-whyrehorn > .kt-row-column-wrap,
  .home .rehorn-insurance > .kt-row-column-wrap,
  .home .rehorn-projects > .kt-row-column-wrap,
  .home .rehorn-parts > .kt-row-column-wrap,
  .home .rehorn-testimonials > .kt-row-column-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .rehorn-hero {
    min-height: auto;
  }

  .rehorn-hero > .kt-row-column-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .rehorn-hero-text,
  .rehorn-hero-text > .kt-inside-inner-col {
    width: 100%;
    max-width: none;
  }

  .rehorn-hero-text {
    margin-top: 30px;
  }

  .rehorn-hero
    > .kt-row-column-wrap
    > .wp-block-kadence-column:has(.rehorn-hero-text) {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }

  .rehorn-hero
    > .kt-row-column-wrap
    > .wp-block-kadence-column:has(.rehorn-hero-card) {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }

  .rehorn-hero h1 {
    max-width: none;
    width: 100%;
    font-size: clamp(42px, 12vw, 56px);
    line-height: 0.92;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .rehorn-hero .rehorn-hero-sub {
    max-width: none;
    margin-top: 16px;
  }

  .rehorn-hero-card {
    position: static !important;
    width: 100% !important;
    -ms-flex-item-align: stretch;
        align-self: stretch;
    margin-top: 8px;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
  }

  .rehorn-hero-card > .kt-row-column-wrap,
  .rehorn-hero-card.kt-row-column-wrap {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 20px;
  }

  .rehorn-hero-card h3 {
    white-space: normal;
    font-size: 26px;
  }

  .rehorn-trust > .kt-row-column-wrap,
  .rehorn-stats > .kt-row-column-wrap,
  .rehorn-projects > .kt-row-column-wrap,
  .rehorn-parts > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .rehorn-trust .rehorn-badge-icon {
    width: 116px;
    height: 116px;
    padding: 0 18px;
    margin-bottom: 16px;
  }

  .rehorn-trust .rehorn-badge-icon img {
    width: 82px;
    height: 70px;
  }

  .rehorn-trust .rehorn-trust-title {
    font-size: 26px;
  }

  .rehorn-trust .rehorn-trust-body {
    max-width: none;
  }

  .rehorn-stats .rehorn-stat-cell .kt-inside-inner-col {
    padding: 16px 0;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .rehorn-stats .rehorn-stat-value {
    font-size: 34px;
  }

  .rehorn-svc-inner .kt-inside-inner-col {
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  .rehorn-svc-heading {
    font-size: clamp(30px, 8vw, 38px);
    max-width: none;
  }

  .rehorn-svc-head-right .kt-inside-inner-col,
  .rehorn-proj-head-right .kt-inside-inner-col {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }

  .rehorn-svc-head-right .wp-block-kadence-advancedbtn,
  .rehorn-svc-head-right .kb-buttons-wrap,
  .rehorn-proj-head-right .wp-block-kadence-advancedbtn,
  .rehorn-proj-head-right .kb-buttons-wrap {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }

  .rehorn-svc-head-right .wp-block-kadence-singlebtn,
  .rehorn-svc-head-right .wp-block-kadence-advancedbtn .kb-button,
  .rehorn-proj-head-right .wp-block-kadence-singlebtn,
  .rehorn-proj-head-right .wp-block-kadence-advancedbtn .kb-button {
    margin-left: 0;
    margin-right: auto;
  }

  .rehorn-svc-scroller {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: visible;
    padding-top: 24px;
  }

  .rehorn-svc-card {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 280px;
  }

  .rehorn-svc-arrows {
    display: none;
  }

  .rehorn-why-heading,
  .rehorn-ins-heading,
  .rehorn-proj-section-heading,
  .rehorn-parts-heading,
  .rehorn-tst-heading {
    font-size: clamp(30px, 8vw, 40px);
    max-width: none;
  }

  .rehorn-why-body,
  .rehorn-ins-body,
  .rehorn-parts-body {
    max-width: none;
  }

  .rehorn-why-card {
    padding: 24px;
  }

  .rehorn-insurance-img img,
  .rehorn-parts-img img {
    aspect-ratio: auto;
    max-height: none;
  }

  .rehorn-proj-inner .kt-inside-inner-col,
  .rehorn-tst-inner > .kt-inside-inner-col {
    padding-left: 20px;
    padding-right: 20px;
  }

  .rehorn-projects-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .rehorn-proj-big,
  .rehorn-proj-col {
    width: 100%;
  }

  .rehorn-home-featured-projects {
    display: block !important;
    grid-template-columns: none !important;
  }

  .rehorn-home-featured-projects > .rehorn-proj-big,
  .rehorn-home-featured-projects > .rehorn-proj-col {
    display: block;
    width: 100%;
  }

  .rehorn-proj-small {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .rehorn-proj-big {
    min-height: 300px;
  }

  .rehorn-proj-big-content,
  .rehorn-proj-small-panel {
    padding: 24px 20px;
  }

  .rehorn-tst-grid > .kt-row-column-wrap {
    gap: 32px;
  }

  .rehorn-tst-card .kt-inside-inner-col {
    gap: 20px;
  }

  .rehorn-tst-attr {
    margin-top: 12px;
  }

  .site-top-footer-wrap .site-footer-row-container-inner {
    padding-top: 80px;
    padding-bottom: 56px;
  }

  .rehorn-fcta-heading {
    font-size: 38px;
  }
}

@media (max-width: 576px) {
  .home .rehorn-hero > .kt-row-column-wrap,
  .home .rehorn-trust > .kt-row-column-wrap,
  .home .rehorn-stats > .kt-row-column-wrap,
  .home .rehorn-whyrehorn > .kt-row-column-wrap,
  .home .rehorn-insurance > .kt-row-column-wrap,
  .home .rehorn-projects > .kt-row-column-wrap,
  .home .rehorn-parts > .kt-row-column-wrap,
  .home .rehorn-testimonials > .kt-row-column-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rehorn-hero h1 {
    font-size: clamp(38px, 14vw, 50px);
  }

  .rehorn-trust .rehorn-trust-title,
  .rehorn-svc-heading,
  .rehorn-why-heading,
  .rehorn-ins-heading,
  .rehorn-proj-section-heading,
  .rehorn-parts-heading,
  .rehorn-tst-heading {
    font-size: 32px;
  }

  .rehorn-svc-card {
    min-height: 260px;
  }

  .rehorn-fcta-heading {
    font-size: 34px;
  }
}

@media (max-width: 767px) {
  .rehorn-svc-heading,
  .rehorn-ins-heading,
  .rehorn-tst-heading,
  .rehorn-parts-heading,
  .rehorn-why-heading,
  .rehorn-fcta-heading {
    font-size: 32px;
  }
  .rehorn-proj-section-heading {
    font-size: 38px;
  }
  .rehorn-trust-title {
    font-size: 28px;
  }
  .rehorn-testimonials--homepage .rehorn-testimonials__header {
    margin-bottom: 32px;
  }
  .rehorn-testimonials--homepage .rehorn-testimonials__header {
    grid-template-columns: 1fr;
    gap: 16px !important;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .rehorn-testimonials--homepage .rehorn-testimonials__header-right {
    justify-self: start;
  }
  .rehorn-testimonials--homepage .rehorn-testimonials__grid,
  .rehorn-tst-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rehorn-testimonials--homepage .rehorn-testimonials__title.rehorn-tst-heading,
  .rehorn-tst-heading {
    font-size: 32px;
    line-height: 1.05;
    max-width: 10ch;
    text-wrap: balance;
  }
  .rehorn-tst-text {
    font-size: 16px;
    line-height: 1.55;
  }
  .rehorn-tst-author {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 12px;
  }
  .rehorn-tst-avatar {
    width: 56px;
    -ms-flex-preferred-size: 56px;
        flex-basis: 56px;
  }
  .rehorn-tst-avatar img {
    width: 56px;
    height: 56px;
  }
  .rehorn-tst-name {
    font-size: 18px;
  }
  .rehorn-tst-role {
    font-size: 12px;
  }
  .rehorn-tst-stars {
    gap: 6px;
  }
  .rehorn-tst-star {
    width: 26px;
    height: 26px;
  }

  /* force section-header nested rows to stack */
  .rehorn-service-header > .kt-row-column-wrap,
  .rehorn-project-header > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .rehorn-svc-head-right .kt-inside-inner-col,
  .rehorn-proj-head-right .kt-inside-inner-col {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  /* stats: drop the vertical dividers when stacked */
  .rehorn-stats .rehorn-stat-cell {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .rehorn-stats .rehorn-stat-cell:last-child {
    border-bottom: none;
  }
  .rehorn-stats .rehorn-stat-cell .kt-inside-inner-col {
    padding: 14px 8px;
  }

  /* custom grids -> single column */
  .rehorn-projects-grid {
    grid-template-columns: 1fr;
  }
  .rehorn-proj-small {
    grid-template-columns: 1fr;
  }
  .rehorn-proj-small-img {
    min-height: 190px;
  }
  .rehorn-proj-big {
    min-height: 340px;
  }
  .rehorn-tst-head-right .kt-inside-inner-col {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  /* services cards a touch smaller */
  .rehorn-svc-card {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 260px;
            flex: 0 0 260px;
    height: 400px;
  }

  /* footer */
  .site-top-footer-wrap .site-footer-row-container-inner {
    padding-top: 90px;
    padding-bottom: 60px;
  }
  .rehorn-fcta-heading {
    font-size: 36px;
  }
  .rehorn-flogo img {
    max-width: 180px;
  }
  .rehorn-flegal-inner {
    gap: 18px;
  }

  /* subscribe form: stack the input + button full-width on phones */
  .rehorn-fnews-form,
  .rehorn-fnews-form .gform_wrapper {
    max-width: 100%;
  }
  .rehorn-fnews-form .gform_body {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
  }
  .rehorn-fnews-form .gform_footer {
    width: 100%;
  }
  .rehorn-fnews-form button.gform_button {
    width: 100% !important;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

/* =====================================================================
   QA FIXES — corrections from the Figma section-by-section diff
   ===================================================================== */

/* (A) Norwester draws lowercase as small-caps → force uniform UPPERCASE on all display text */

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-kadence-advancedheading,
.rehorn-hero-card h3,
.rehorn-fnews-h,
.rehorn-proj-title,
.rehorn-svc-card-title,
.rehorn-tst-name,
.rehorn-tst-heading,
.rehorn-fcta-heading,
.rehorn-proj-section-heading {
  text-transform: uppercase;
}

.kb-btnwhybtn1,
.kb-btnfctabtn1 {
  border-radius: 999px !important;
}

/* (C) Header — smaller logo, tighter bar, no phone underline.
   (The "Services" dropdown caret is now Kadence's native menu-item-has-children
   toggle — styled in the "Header — Services dropdown" block below.) */

#masthead .header-html .rehorn-phone {
  text-decoration: none !important;
}

/* (D) Nested header rows were auto-centering (extra indent on services/projects headers) */

.kt-inside-inner-col
  > .wp-block-kadence-rowlayout
  > [id^="kt-layout-id"]
  > .kt-row-column-wrap {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

/* (E) Consistent generous content insets (design uses 144px ≈ 8.3% of frame) */

@media (min-width: 768px) {
  .rehorn-hero > .kt-row-column-wrap,
  .rehorn-trust > .kt-row-column-wrap,
  .rehorn-whyrehorn > .kt-row-column-wrap,
  .rehorn-insurance > .kt-row-column-wrap,
  .rehorn-parts > .kt-row-column-wrap {
    max-width: none;
    padding-left: clamp(24px, 8.3vw, 148px);
    padding-right: clamp(24px, 8.3vw, 148px);
  }
  .rehorn-proj-inner .kt-inside-inner-col,
  .rehorn-tst-inner > .kt-inside-inner-col {
    padding-left: clamp(24px, 8.3vw, 148px);
    padding-right: clamp(24px, 8.3vw, 148px);
  }
  .rehorn-svc-inner .kt-inside-inner-col {
    padding-left: clamp(24px, 8.3vw, 148px);
    padding-right: 0;
  }
  .rehorn-proj-section-heading {
    white-space: nowrap;
  }
}

/* (F) Hero — off-white headline, narrower card hanging lower */

.rehorn-hero h1 {
  color: var(--rehorn-white);
}

.rehorn-hero-card > .kt-row-column-wrap {
  max-width: 760px;
  margin-top: -96px;
}

/* (H) Stats — tight number/label gap, small star, full-height dividers */

.rehorn-stats .rehorn-stat-value {
  margin-bottom: 2px;
}

.rehorn-star {
  font-size: 0.58em;
  vertical-align: 0.12em;
  letter-spacing: 0;
}

.rehorn-stats .rehorn-stat-cell .kt-inside-inner-col {
  padding: 0 clamp(96px, 9vw, 132px) 0 clamp(56px, 5vw, 80px);
}

.rehorn-stats .rehorn-stat-cell:last-child .kt-inside-inner-col {
  padding-right: clamp(96px, 9vw, 132px);
}

/* (I) Services — heading on one line */

.rehorn-svc-heading {
  font-size: 50px;
  max-width: none;
}

/* design: Font Scale/Large = 50 */

/* (K) Why Rehorn — true brand-black card, slightly smaller heading */

.rehorn-why-card {
  background: #3a383b;
}

.rehorn-why-heading {
  font-size: 50px;
}

/* design: Font Scale/Large = 50 */

/* (L) Insurance & Parts — near-square photos, vertically centered row */

.rehorn-insurance-img img,
.rehorn-parts-img img {
  aspect-ratio: 699 / 713;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
}

/* (O) Testimonials — green names, dark review text, slightly smaller heading */

.rehorn-tst-name {
  color: var(--rehorn-green);
}

.rehorn-tst-text {
  color: var(--rehorn-black);
}

.rehorn-tst-heading {
  font-size: 50px;
}

/* design: Font Scale/Large = 50 */

/* (P) Footer — bigger CTA heading */

.rehorn-fcta-heading {
  font-size: 54px;
}

/* =====================================================================
   Section torn-paper edges — the real Figma "Edge Graphic" shape
   (../img/edge-torn-*.svg, preserveAspectRatio=none → stretched to the
   section width, exactly like the design). Each edge is the colour of the
   section it tears INTO; tear-up edges flip the graphic so the jagged side
   points up into the section above. Each sits on the lower section's
   ::before so it overlaps upward across the boundary.
   ===================================================================== */

/* Each edge is ONE torn MASK shape (edge-torn-mask.svg) cut into a thin strip whose
   BACKGROUND is the same colour (+ topo, where that section has it) as the section it
   belongs to — so the topographic texture carries across the jagged edge instead of a
   flat-colour strip. Native Kadence dividers can only fill a single solid colour, so
   the textured tear has to be custom; this is the high-fidelity way.
   Front end: `.kb-row-layout-wrap.rehorn-X` raises specificity over Kadence's clearfix
   `::before{display:table}`. Editor: `.rehorn-X.kt-row-column-wrap` (class + content
   wrap are the same element on the canvas) renders the identical edge in Gutenberg. */

.kb-row-layout-wrap.rehorn-hero::before,
.rehorn-hero.kt-row-column-wrap::before,
.kb-row-layout-wrap.rehorn-trust::before,
.rehorn-trust.kt-row-column-wrap::before,
.kb-row-layout-wrap.rehorn-stats::before,
.rehorn-stats.kt-row-column-wrap::before,
.kb-row-layout-wrap.rehorn-whyrehorn::before,
.rehorn-whyrehorn.kt-row-column-wrap::before,
.kb-row-layout-wrap.rehorn-insurance::before,
.rehorn-insurance.kt-row-column-wrap::before,
.kb-row-layout-wrap.rehorn-parts::before,
.rehorn-parts.kt-row-column-wrap::before,
.kb-row-layout-wrap.rehorn-testimonials::before,
.rehorn-testimonials.kt-row-column-wrap::before,
.site-top-footer-wrap::before,
.site-bottom-footer-wrap::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 4;
  pointer-events: none;
  -webkit-mask: url(../img/edge-torn-mask.svg) center / 100% 100% no-repeat;
  mask: url(../img/edge-torn-mask.svg) center / 100% 100% no-repeat;
}

/* tear-up edges: the strip sits above its own section and the jags point up */

.rehorn-trust::before,
.rehorn-stats::before,
.rehorn-whyrehorn::before,
.rehorn-insurance::before,
.rehorn-parts::before,
.rehorn-testimonials::before,
.site-top-footer-wrap::before,
.site-bottom-footer-wrap::before {
  top: -45px;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}

/* per-edge fill = the section's own colour; topo bands also carry the faint texture */

.rehorn-trust::before {
  background: var(--rehorn-cream);
}

.rehorn-stats::before {
  background: var(--rehorn-black);
}

.rehorn-whyrehorn::before {
  background: var(--rehorn-green) url(../img/bg-pattern-topo-faint.png) left top /
    1573px 750px repeat;
}

.rehorn-insurance::before {
  background: var(--rehorn-white);
}

.rehorn-parts::before {
  background: var(--rehorn-black) url(../img/bg-pattern-topo-faint.png) left top /
    1573px 750px repeat;
}

.rehorn-testimonials::before {
  background: var(--rehorn-white);
}

.site-top-footer-wrap::before {
  background: var(--rehorn-black);
}

/* dark footer tears up into the CTA above */

.site-bottom-footer-wrap::before {
  background: var(--rehorn-gray);
}

/* gray legal bar tears up into the dark footer */

/* hero top: the off-white masthead tears DOWN into the photo (no flip) */

.rehorn-hero::before {
  top: -1px;
  background: var(--rehorn-white);
}

/* host sections need a positioning context for the ::before edge */

.rehorn-stats,
.rehorn-insurance,
.rehorn-testimonials,
.site-top-footer-wrap,
.site-bottom-footer-wrap {
  position: relative;
}

/* Hero card → absolute overlay so the photo stays full-bleed (kills the white gap) */

.rehorn-hero {
  min-height: clamp(640px, 72vh, 720px);
}

/* The green card hangs across the hero→trust boundary. Because the hero row has
   a background overlay, Kadence puts the hero's column wrap in its own stacking
   context (z-index:1), which traps the card (z-index:6, but only relative to that
   wrap) BELOW the trust torn edge — which sits in the root context at z-index:4.
   Lift the whole hero column wrap above that edge so the floating card cleanly
   covers the section transition. Stays under the header (root z-index:11).
   High-specificity selector so Kadence's later-loaded z-index:1 can't win. */

.kb-row-layout-wrap.rehorn-hero > .kt-row-column-wrap {
  z-index: 5;
}

.rehorn-hero .kadence-columnheroc,
.rehorn-hero .kadence-columnheroc > .kt-inside-inner-col {
  position: static;
}

.rehorn-hero-card {
  position: absolute !important;
  z-index: 6;
  top: auto;
  left: auto;
  right: clamp(16px, 4vw, 56px);
  bottom: -84px;
  width: min(760px, calc(100% - 40px));
  margin: 0;
}

/* fill / padding / topo are row attributes; only reset Kadence's own max-width here */

.rehorn-hero-card > .kt-row-column-wrap,
.rehorn-hero-card.kt-row-column-wrap {
  max-width: none !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .rehorn-hero-card h3 {
    white-space: normal;
  }
}

/* Header — Services dropdown.
   "Services" is a real parent menu item (menu-item-has-children); Kadence injects
   a native down-chevron toggle + a .sub-menu panel. Size the caret and restyle the
   panel to match the brand nav. All rules are #masthead-scoped so they beat
   Kadence's class-only submenu CSS (which is injected after the theme stylesheet). */

#masthead
  .header-navigation
  .menu
  > li.menu-item-has-children
  > a
  .nav-drop-title-wrap {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

#masthead
  .header-navigation
  .menu
  > li.menu-item-has-children
  .dropdown-nav-toggle {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 7px;
}

#masthead
  .header-navigation
  .menu
  > li.menu-item-has-children
  .dropdown-nav-toggle
  .kadence-svg-icon {
  width: 13px;
  height: 13px;
}

/* Sub-menu panel — brand-black card (bg already palette3); display-font, uppercase links. */

#masthead .header-navigation .header-menu-container ul ul.sub-menu {
  border-radius: 8px;
  padding: 6px 0;
  border: none;
}

#masthead
  .header-navigation
  .header-menu-container
  ul
  ul.sub-menu
  li.menu-item
  > a {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  white-space: nowrap;
  width: auto;
  min-width: 248px;
  padding: 0.78em 1.3em;
  color: var(--rehorn-white);
}

#masthead
  .header-navigation
  .header-menu-container
  ul
  ul.sub-menu
  li.menu-item
  > a:hover {
  color: var(--rehorn-orange);
  background: var(--global-palette4);
}

/* Stats — vertically centered content (band height/padding are on the row block) */

.rehorn-stats .rehorn-stat-cell .kt-inside-inner-col {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
}

/* Services — scroll arrows point left/right (assets render vertical), header aligns with cards */

.rehorn-svc-arrow-left img {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
}

.rehorn-svc-arrow-right img {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.rehorn-service-header > .kt-row-column-wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Testimonials — names green (assert), avatars clean */

.rehorn-tst-card .rehorn-tst-name {
  color: var(--rehorn-green) !important;
}

.rehorn-tst-avatar {
  -o-object-position: center;
     object-position: center;
  background: transparent;
}

/* Insurance & Parts — constrain photo height, keep heading one line */

.rehorn-insurance-img img,
.rehorn-parts-img img {
  aspect-ratio: 699/713;
  max-height: 540px;
  -o-object-fit: cover;
     object-fit: cover;
}

.rehorn-ins-heading {
  font-size: 50px;
}

/* design: Font Scale/Large = 50 */

/* CTA heading — larger, wraps after 'RV' like the design */

.rehorn-fcta-heading {
  font-size: 60px;
}

/* QA pass 2b — hero card anchoring fix (override rule D full-width + wrap padding) */

@media (min-width: 768px) {
  .rehorn-hero > .kt-row-column-wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .rehorn-hero-text > .kt-inside-inner-col {
    padding-left: clamp(24px, 8.3vw, 148px);
    padding-right: clamp(24px, 8.3vw, 148px);
  }
}

.rehorn-hero-card {
  width: min(760px, calc(100% - 40px)) !important;
  right: clamp(16px, 4vw, 56px);
  bottom: -84px;
}

@media (max-width: 767px) {
  .rehorn-hero-card {
    bottom: -225px !important;
  }
}

@media (max-width: 370px) {
  .rehorn-hero-card {
    width: calc(100% - 24px) !important;
    right: 12px !important;
    bottom: -205px !important;
  }

  .rehorn-hero-card > .kt-row-column-wrap,
  .rehorn-hero-card.kt-row-column-wrap {
    padding: 20px 16px !important;
  }

  .rehorn-hero-card h3 {
    font-size: 22px !important;
    line-height: 1.05 !important;
  }

  .rehorn-hero-card .rehorn-hero-card-p {
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
}

/* QA pass 2c — hero headline column was double-constrained (max-width 600 + 119px padding) */

.rehorn-hero-text {
  max-width: 560px;
}

@media (min-width: 768px) {
  .rehorn-hero-text > .kt-inside-inner-col {
    padding-left: clamp(24px, 8.3vw, 148px);
    padding-right: 0;
  }
}

.rehorn-hero-text > .kt-inside-inner-col {
  padding-left: 0;
}

.rehorn-hero h1 {
  max-width: 560px;
}

.rehorn-hero .rehorn-hero-sub {
  max-width: 500px;
}

/* QA pass 2d — the content inset leaked onto nested header/card columns
   (descendant selector). Zero out the doubly-nested inner-col padding so the
   services/projects eyebrow+heading align with the cards below. */

@media (min-width: 768px) {
  .rehorn-svc-inner .kt-inside-inner-col .kt-inside-inner-col,
  .rehorn-proj-inner .kt-inside-inner-col .kt-inside-inner-col {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* =====================================================================
   Service / Project detail pages (native single templates)
   ===================================================================== */

/* The single service/project hero is now a core/cover Kadence Element
   (.rehorn-detail-hero-cover, see below). The old hardcoded-header hero CSS
   (.rehorn-detail-hero / ::before / ::after / -inner) was removed as dead code;
   the cover reuses only the .rehorn-detail-eyebrow + .rehorn-detail-hero-title
   typography here. */

.rehorn-detail-eyebrow {
  display: block;
  color: var(--rehorn-cream);
  margin-bottom: 12px;
}

.rehorn-detail-hero-title {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  margin: 0;
  max-width: 960px;
}

/* Service single hero as a Kadence Element built on core/cover (useFeaturedImage):
   cover natively renders the per-service featured image, the dim overlay, the
   min-height and vertical centering — robust on first paint, unlike a hand-rolled
   backdrop. We only add the torn-edge bottom and constrain the content to the brand
   container width. The eyebrow/title reuse the .rehorn-detail-* classes above. */

.rehorn-detail-hero-cover.wp-block-cover,
.rehorn-service-hero.wp-block-cover {
  height: 520px;
  min-height: 520px;
}

/* Torn edges: the off-white masthead tears DOWN into the hero photo (::before, not
   flipped → jagged side points down), and the hero tears into the section below
   (::after, flipped → jagged side points up). Matches the Services/Projects heroes. */

.rehorn-detail-hero-cover::before,
.rehorn-detail-hero-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 2;
  background: url(../img/edge-torn-white.svg) center / 100% 100% no-repeat;
  pointer-events: none;
}

.rehorn-detail-hero-cover::before {
  top: -1px;
}

.rehorn-detail-hero-cover::after {
  bottom: -1px;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}

.rehorn-detail-hero-cover .wp-block-cover__inner-container {
  width: min(var(--rehorn-content-width), 100% - clamp(40px, 8vw, 160px));
  margin: 0 auto;
}

.rehorn-detail-body {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px clamp(24px, 8.3vw, 148px) 100px;
}

.rehorn-detail-body > :first-child {
  margin-top: 0;
}

.rehorn-detail-body h2 {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  margin: 52px 0 20px;
}

.rehorn-detail-body h3 {
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 24px;
  margin: 32px 0 14px;
}

.rehorn-detail-body p,
.rehorn-detail-body li {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.7;
}

.rehorn-detail-body ul,
.rehorn-detail-body ol {
  padding-left: 1.2em;
  margin: 0 0 20px;
}

.rehorn-detail-body li {
  margin-bottom: 8px;
}

/* ---- Listing pages: services + projects grids ---- */

.rehorn-listing-body {
  width: min(var(--rehorn-content-width), 100% - clamp(40px, 8vw, 160px));
  margin: 0 auto;
  padding: 80px 0 100px;
}

.rehorn-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rehorn-listcard {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background: var(--rehorn-black);
}

.rehorn-listcard-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  background-size: cover;
  background-position: center;
}

.rehorn-listcard-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  padding: 28px 28px 32px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.rehorn-listcard-title {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.05;
  margin-bottom: 8px;
}

.rehorn-listcard-desc {
  color: var(--rehorn-text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.rehorn-btn-orange {
  -ms-flex-item-align: start;
      align-self: flex-start;
  margin-top: 6px;
  display: inline-block;
  background: var(--rehorn-orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
}

.rehorn-btn-orange:hover {
  background: #c4521f;
  color: #fff;
}

@media (max-width: 980px) {
  .rehorn-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rehorn-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Projects listing: core Query Loop block (replaces the old shortcode grid) ----
   Maps the core block markup (post-template / post-featured-image / post-title /
   post-excerpt + an ACF-bound eyebrow paragraph) onto the existing card design,
   and styles the Query Pagination numbers on-brand. Scoped under
   .rehorn-listing-projects so it beats Kadence/core block CSS on source order. */

/* Category filter pills — rehorn/project-filter block (Figma 4436:5242) */

.rehorn-listing-projects .rehorn-projfilter {
  width: min(var(--rehorn-content-width), 100% - clamp(40px, 8vw, 160px));
  margin: 0 auto;
  padding: 80px 0 0;
}

.rehorn-listing-projects .rehorn-projfilter-label {
  display: block;
  margin: 0 0 16px;
  font-family: var(--rehorn-font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rehorn-black);
}

.rehorn-listing-projects .rehorn-projfilter-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
}

.rehorn-listing-projects .rehorn-projfilter-tag {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--rehorn-font-mono);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  background: var(--rehorn-cream);
  color: var(--rehorn-black);
  -webkit-transition:
    background 0.15s ease,
    color 0.15s ease;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.rehorn-listing-projects .rehorn-projfilter-tag:hover {
  background: #d4cdb2;
}

.rehorn-listing-projects .rehorn-projfilter-tag.is-active {
  background: var(--rehorn-green);
  color: var(--rehorn-white);
}

.rehorn-listing-projects .rehorn-projfilter-tag.is-active:hover {
  background: var(--rehorn-green);
}

.rehorn-listing-projects .rehorn-proj-query {
  width: min(var(--rehorn-content-width), 100% - clamp(40px, 8vw, 160px));
  margin: 0 auto;
  padding: 48px 0 100px;
}

.rehorn-listing-projects .wp-block-post-template.rehorn-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rehorn-listing-projects .rehorn-proj-list > li.wp-block-post {
  position: relative; /* anchor for the stretched title link */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  margin: 0;
  background: var(--rehorn-green) !important;
  border-radius: 8px;
  overflow: hidden;
}

.rehorn-listing-projects .rehorn-proj-list .wp-block-post-featured-image {
  margin: 0;
}

.rehorn-listing-projects .rehorn-proj-list .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.rehorn-listing-projects .rehorn-proj-listbody {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 28px 28px 32px;
  background: var(--rehorn-green) !important;
  border-radius: 0 0 8px 8px;
}

.rehorn-listing-projects .rehorn-proj-listbody .rehorn-proj-eyebrow {
  margin: 0;
}

.rehorn-listing-projects
  .rehorn-proj-list
  .wp-block-post-title.rehorn-listcard-title {
  margin: 0 0 8px;
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 22px;
  line-height: 1.05;
}

.rehorn-listing-projects .rehorn-listcard-title a {
  color: inherit;
  text-decoration: none;
}

.rehorn-listing-projects .rehorn-listcard-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.rehorn-listing-projects .wp-block-post-excerpt.rehorn-listcard-desc {
  margin: 0;
  color: var(--rehorn-white);
  opacity: 0.85;
  font-size: 15px;
  line-height: 1.6;
}

.rehorn-listing-projects .rehorn-listcard-desc p {
  margin: 0;
}

.rehorn-listing-projects .rehorn-proj-link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin: auto 0 0;
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.rehorn-listing-projects .rehorn-proj-link::after {
  content: "";
  width: 16px;
  height: 16px;
  background: url(../img/icon-arrow-up-right-view-project.svg) center / contain
    no-repeat;
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

/* Query Pagination — Figma 4438:5819: left-aligned, Norwester number buttons with
   the current page cream-filled, and square 52x52 caret arrow buttons (next filled,
   prev appears from page 2). Stays the core Query Pagination block — only styled. */

.rehorn-listing-projects .rehorn-proj-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 12px;
  margin-top: 56px;
}

.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}

.rehorn-listing-projects .rehorn-proj-pagination .page-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 52px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  background: transparent;
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-display);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-transition:
    background 0.15s ease,
    color 0.15s ease;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.rehorn-listing-projects .rehorn-proj-pagination a.page-numbers:hover {
  background: #d4cdb2;
}

.rehorn-listing-projects .rehorn-proj-pagination .page-numbers.current {
  background: var(--rehorn-cream);
}

.rehorn-listing-projects .rehorn-proj-pagination .page-numbers.dots {
  min-width: 0;
  padding: 0 8px;
}

.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-previous,
.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-next {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 8px;
  font-size: 0; /* hide the core text label (kept in DOM for screen readers) */
  color: var(--rehorn-black);
  text-decoration: none;
  -webkit-transition: background 0.15s ease;
  transition: background 0.15s ease;
}

.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-next {
  background: var(--rehorn-cream);
}

.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-previous:hover,
.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-next:hover {
  background: #d4cdb2;
}

.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-previous::before,
.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-next::before {
  content: "";
  width: 10px;
  height: 10px;
  border: solid var(--rehorn-black);
  border-width: 2px 2px 0 0; /* top + right = chevron */
}

.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-next::before {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  margin-left: -3px;
}

.rehorn-listing-projects
  .rehorn-proj-pagination
  .wp-block-query-pagination-previous::before {
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
  margin-right: -3px;
}

@media (max-width: 980px) {
  .rehorn-listing-projects .wp-block-post-template.rehorn-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rehorn-listing-projects .wp-block-post-template.rehorn-list-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Shared detail-hero sub (single service/project templates) ---- */

.rehorn-detail-hero-sub {
  color: var(--rehorn-white);
  font-size: 18px;
  line-height: 1.5;
  margin: 18px 0 0;
  max-width: 560px;
}

/* =====================================================================
   Contact page (slug: contact) — Figma node 4357:4792
   Hero photo + "Contact Us", a green info panel beside the Gravity Forms
   block, then "Areas We Serve" pills + an interactive Google Map. Authored
   as Kadence blocks (rehorn-build.php → section "contact").
   ===================================================================== */

/* ---- Hero ---- (bg photo + overlay + min-height are set on the row block) */

.rehorn-contact-hero {
  position: relative;
}

.rehorn-contact-hero > .kt-row-column-wrap {
  -ms-flex-line-pack: center;
      align-content: center;
}

.rehorn-contact-hero-col .kt-inside-inner-col {
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

.rehorn-contact-hero-title {
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(46px, 6.4vw, 90px);
  line-height: 1;
}

/* ---- Main contact card ---- (off-white band; vertical padding on the row block) */

.rehorn-contact-main {
  position: relative;
}

.rehorn-contact-main-inner .kt-inside-inner-col {
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

/* The card straddles the hero photo: pull it up and lift it above the torn edge.
   Kadence puts the section's column-wrap in its own z-index:1 stacking context,
   which would TRAP the card's z-index:5 below the white tear-up edge (z-index:4)
   — the edge then slices across the card. Neutralise that context so the card
   wins; the edge stays visible in the gutters where the card doesn't cover it. */

.kb-row-layout-wrap.rehorn-contact-main > .kt-row-column-wrap {
  position: relative;
  z-index: 5;
}

.rehorn-contact-card {
  position: relative;
  z-index: 5;
  margin-top: clamp(-180px, -10vw, -130px);
}

.rehorn-parts-card {
  width: min(1320px, calc(100% - 48px));
  margin: clamp(-180px, -10vw, -130px) auto 0;
}

.kb-row-layout-wrap.rehorn-contact-card > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 45%) minmax(0, 55%);
  gap: 0;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
          box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

/* Left: green info panel + topo pattern overlay */

.rehorn-contact-info {
  position: relative;
  background: var(--rehorn-green);
  overflow: hidden;
}

.rehorn-contact-info::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
}

.rehorn-contact-info > .kt-inside-inner-col,
.rehorn-contact-info > .kadence-inner-column-inner {
  position: relative;
  z-index: 1;
  padding: 56px;
}

.rehorn-contact-info-title {
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1.02;
}

.rehorn-contact-info-sub {
  color: var(--rehorn-white);
  opacity: 0.92;
  font-size: 18px;
  line-height: 1.5;
  margin: 16px 0 0;
  max-width: 440px;
}

/* Contact info — the editable rehorn/contact-info block (icon + label + value
   repeater; see src/contact-info/). Content lives in the block fields; this is
   pure presentation. A simple flex row guarantees a uniform 52×52 icon button
   regardless of how many lines the value wraps to. Sizes track Figma 4361:7687:
   52px button, 24px glyph, 24px gap, 40px between items, 12px label→value. */

.rehorn-contact-info .rehorn-contact-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.rehorn-contact-info .rehorn-ci-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  margin: 0;
}

/* cream 52×52 icon button; the inline SVG inherits color via currentColor */

.rehorn-contact-info .rehorn-ci-icon {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 52px;
          flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: var(--rehorn-cream);
  color: var(--rehorn-black);
}

.rehorn-contact-info .rehorn-ci-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.rehorn-contact-info .rehorn-ci-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.rehorn-contact-info .rehorn-ci-label {
  font-family: var(--rehorn-font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--rehorn-cream);
}

.rehorn-contact-info .rehorn-ci-value {
  font-family: var(--rehorn-font-mono);
  font-size: 21px;
  line-height: 1.25;
  color: var(--rehorn-white);
  overflow-wrap: anywhere;
  text-decoration: none;
}

.rehorn-contact-info .rehorn-ci-value[href^="mailto:"] {
  letter-spacing: -1px;
}

.rehorn-contact-info a.rehorn-ci-value:hover {
  color: var(--rehorn-cream);
  text-decoration: underline;
}

/* Right: gray panel holding the Gravity Forms block */

.rehorn-contact-formcol {
  background: var(--rehorn-text-muted);
}

.rehorn-contact-formcol > .kt-inside-inner-col {
  padding: 56px 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

/* ---- Gravity Forms (contact) — drive Orbital's CSS vars to brand, scoped to the panel ---- */

.rehorn-contact-formcol .gform_wrapper {
  margin: 0;
  --gf-ctrl-bg-color: var(--rehorn-white);
  --gf-ctrl-color: var(--rehorn-black);
  --gf-ctrl-border-color: var(--rehorn-gray);
  --gf-ctrl-border-color-focus: var(--rehorn-green);
  --gf-ctrl-placeholder-color: var(--rehorn-gray);
  --gf-ctrl-radius: 8px;
  --gf-ctrl-min-height: 52px;
  --gf-ctrl-label-color-primary: var(--rehorn-black);
  --gf-ctrl-btn-bg-color-primary: var(--rehorn-orange);
  --gf-ctrl-btn-bg-color-hover-primary: #c4521f;
  --gf-ctrl-btn-border-color-primary: var(--rehorn-orange);
  --gf-ctrl-btn-border-color-hover-primary: #c4521f;
  --gf-color-primary: var(--rehorn-orange);
  --gf-color-primary-rgb: 216, 96, 44;
  --gf-color-primary-darker: #c4521f;
  --gf-color-primary-contrast: #ffffff;
}

.rehorn-contact-formcol .gform_wrapper .gfield_label,
.rehorn-contact-formcol .gform_wrapper legend.gfield_label {
  font-family: var(--rehorn-font-mono);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--rehorn-black);
  font-size: 13px;
  margin-bottom: 8px;
}

.rehorn-contact-formcol .gform_wrapper .gfield_required {
  color: #ed6d64;
}

.rehorn-contact-formcol .gform_wrapper input[type="text"],
.rehorn-contact-formcol .gform_wrapper input[type="email"],
.rehorn-contact-formcol .gform_wrapper input[type="tel"],
.rehorn-contact-formcol .gform_wrapper select,
.rehorn-contact-formcol .gform_wrapper textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--rehorn-gray);
  border-radius: 8px;
  background: var(--rehorn-white);
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-body);
  font-size: 16px;
  padding: 10px 14px;
}

.rehorn-contact-formcol .gform_wrapper textarea {
  min-height: 150px;
  padding: 12px 14px;
  line-height: 1.5;
}

.rehorn-contact-formcol .gform_wrapper ::-webkit-input-placeholder {
  color: var(--rehorn-gray);
  opacity: 0.6;
}

.rehorn-contact-formcol .gform_wrapper ::-moz-placeholder {
  color: var(--rehorn-gray);
  opacity: 0.6;
}

.rehorn-contact-formcol .gform_wrapper :-ms-input-placeholder {
  color: var(--rehorn-gray);
  opacity: 0.6;
}

.rehorn-contact-formcol .gform_wrapper ::-ms-input-placeholder {
  color: var(--rehorn-gray);
  opacity: 0.6;
}

.rehorn-contact-formcol .gform_wrapper ::placeholder {
  color: var(--rehorn-gray);
  opacity: 0.6;
}

.rehorn-contact-formcol .gform_wrapper input:focus,
.rehorn-contact-formcol .gform_wrapper select:focus,
.rehorn-contact-formcol .gform_wrapper textarea:focus {
  border-color: var(--rehorn-green);
  outline: none;
  -webkit-box-shadow: 0 0 0 1px var(--rehorn-green);
          box-shadow: 0 0 0 1px var(--rehorn-green);
}

.rehorn-contact-formcol .gform_footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-top: 8px;
  padding-bottom: 0;
}

.rehorn-contact-formcol .gform_wrapper .gform_footer button,
.rehorn-contact-formcol .gform_wrapper .gform_footer input[type="submit"],
.rehorn-contact-formcol .gform_wrapper button.gform-button,
.rehorn-contact-formcol .gform_wrapper input.gform-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  background-color: var(--rehorn-orange) !important;
  border: none !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  min-height: 52px;
  padding: 0 26px !important;
  cursor: pointer;
}

.rehorn-contact-formcol .gform_wrapper .gform_footer button:hover,
.rehorn-contact-formcol .gform_wrapper input.gform-button:hover {
  background-color: #c4521f !important;
}

.rehorn-contact-formcol .gform_wrapper .gform_footer button::after {
  content: "" !important;
  width: 14px;
  height: 14px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 14px;
          flex: 0 0 14px;
  background-color: #fff;
  -webkit-mask: url(../img/icon-arrow-right.svg) center / contain no-repeat;
  mask: url(../img/icon-arrow-right.svg) center / contain no-repeat;
}

.rehorn-contact-formcol .gform_wrapper .gfield_validation_message,
.rehorn-contact-formcol .gform_wrapper .validation_message {
  color: #b3402a;
  font-size: 13px;
}

/* ---- Areas We Serve (rehorn/service-area-map ACF block) ----
   Cream band + torn edge + gutter live on the Kadence row; the block renders the
   2-col head (heading/intro | pills) + the full-width map. */

.rehorn-contact-areas {
  position: relative;
}

.rehorn-contact-areas-inner .kt-inside-inner-col {
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

.rehorn-areas-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 42px;
}

/* Heading gets a fixed-ish column so the pills column is wide enough for ~4/row. */

.rehorn-areas-head {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 48px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.rehorn-areas-left {
  min-width: 0;
}

.rehorn-areas-right {
  min-width: 0;
}

.rehorn-areas-heading {
  color: var(--rehorn-black);
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1;
}

.rehorn-areas-sub {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
  margin: 16px 0 0;
  max-width: 460px;
  white-space: pre-line;
}

.rehorn-area-pills {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 14px;
  width: 100%;
}

.rehorn-area-pill {
  font-family: var(--rehorn-font-mono);
  font-size: 17px;
  line-height: 1;
  color: var(--rehorn-black);
  background: var(--rehorn-white);
  border: none;
  border-radius: 12px;
  padding: 15px 22px;
  cursor: pointer;
  -webkit-transition:
    background 0.15s ease,
    color 0.15s ease;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.rehorn-area-pill:hover {
  background: #fff;
}

.rehorn-area-pill:not(.is-active):hover {
  color: var(--rehorn-green);
}

.rehorn-area-pill.is-active {
  background: var(--rehorn-green);
  color: var(--rehorn-white);
}

.rehorn-area-pill:focus-visible {
  outline: 3px solid var(--rehorn-orange);
  outline-offset: 2px;
}

.rehorn-block-placeholder {
  font-family: var(--rehorn-font-mono);
  color: var(--rehorn-gray);
}

.rehorn-map {
  border: 1px solid var(--rehorn-gray);
  border-radius: 8px;
  overflow: hidden;
  height: clamp(420px, 46vw, 600px);
}

.rehorn-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Contact torn edges (self-contained; .kb-row-layout-wrap. beats Kadence's clearfix) ---- */

.kb-row-layout-wrap.rehorn-contact-hero::before,
.kb-row-layout-wrap.rehorn-contact-main::before,
.kb-row-layout-wrap.rehorn-contact-areas::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 4;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.rehorn-contact-hero::before {
  top: -1px;
  background-image: url(../img/edge-torn-white.svg);
}

.rehorn-contact-main::before {
  top: -45px;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
  background-image: url(../img/edge-torn-white.svg);
}

.rehorn-contact-areas::before {
  top: -45px;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
  background-image: url(../img/edge-torn-cream.svg);
}

/* ---- Contact responsive ---- */

@media (max-width: 980px) {
  .rehorn-areas-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 880px) {
  /* minmax(0,1fr) — NOT plain 1fr (= minmax(auto,1fr)) — so the stacked column can
     shrink below its content's min-content width. Without it, the unbroken email
     value blows the track out past the viewport (overflow-wrap doesn't shrink
     min-content; the 0 minimum does). */
  .kb-row-layout-wrap.rehorn-contact-card > .kt-row-column-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .rehorn-contact-card {
    margin-top: clamp(-120px, -16vw, -70px);
  }
  .rehorn-parts-card {
    width: calc(100% - 24px);
  }
  .rehorn-contact-info > .kt-inside-inner-col {
    padding: 40px 28px;
  }
  .rehorn-contact-formcol > .kt-inside-inner-col {
    padding: 40px 28px;
  }
}

@media (max-width: 767px) {
  .rehorn-contact-formcol .gform_wrapper .gform_footer button,
  .rehorn-contact-formcol .gform_wrapper input.gform-button {
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

/* =====================================================================
   Project Gallery page
   Light hero (eyebrow + title + sub) wrapping the dynamic Project Gallery
   block (filter chips + masonry grid + Load More), then the green "Three
   Decades" trust band, then the shared CTA pattern + global footer.
   ===================================================================== */

/* ---- Gallery hero (light section) ---- */

.rehorn-gallery-introcol .kt-inside-inner-col {
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

.rehorn-gallery-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-size: 21px;
  margin: 0 0 8px;
}

.rehorn-gallery-title {
  color: var(--rehorn-green);
  font-size: clamp(48px, 6vw, 90px);
  line-height: 0.92;
  margin: 0;
}

.rehorn-gallery-sub {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
  max-width: 720px;
  margin: 24px 0 0;
}

/* ---- Gallery block: filter chips ---- */

.rehorn-gallery {
  margin-top: 36px;
}

.rehorn-gallery-filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.rehorn-gallery-chip {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 38px;
  padding: 0 20px;
  border-radius: 6px;
  font-family: var(--rehorn-font-mono);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: var(--rehorn-cream);
  color: var(--rehorn-green);
  -webkit-transition:
    background 0.15s ease,
    color 0.15s ease;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.rehorn-gallery-chip:hover {
  background: #d4cdb2;
}

.rehorn-gallery-chip.is-active {
  background: var(--rehorn-green);
  color: var(--rehorn-white);
}

.rehorn-gallery-chip.is-active:hover {
  background: var(--rehorn-green);
}

/* ---- Gallery block: masonry grid (CSS columns → balanced, no-JS friendly) ---- */

.rehorn-gallery-grid {
  -webkit-column-count: 4;
     -moz-column-count: 4;
          column-count: 4;
  -webkit-column-gap: 16px;
     -moz-column-gap: 16px;
          column-gap: 16px;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.rehorn-gallery-grid.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.rehorn-gallery-card {
  position: relative;
  display: block;
  margin: 0 0 16px;
  border-radius: 8px;
  overflow: hidden;
  -webkit-column-break-inside: avoid;
     -moz-column-break-inside: avoid;
          break-inside: avoid;
  text-decoration: none;
  background: var(--rehorn-black);
}

.rehorn-gallery-card-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}

.rehorn-gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: -webkit-gradient(
    linear,
    left bottom, left top,
    from(rgba(0, 0, 0, 0.78)),
    color-stop(55%, rgba(0, 0, 0, 0))
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78),
    rgba(0, 0, 0, 0) 55%
  );
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.rehorn-gallery-card-title {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px;
  max-width: 90%;
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.05;
  opacity: 0;
  -webkit-transform: translateY(8px);
          transform: translateY(8px);
  -webkit-transition:
    opacity 0.25s ease,
    -webkit-transform 0.25s ease;
  transition:
    opacity 0.25s ease,
    -webkit-transform 0.25s ease;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    -webkit-transform 0.25s ease;
}

.rehorn-gallery-card:hover .rehorn-gallery-card-img {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}

.rehorn-gallery-card:hover::after {
  opacity: 1;
}

.rehorn-gallery-card:hover .rehorn-gallery-card-title {
  opacity: 1;
  -webkit-transform: none;
          transform: none;
}

.rehorn-gallery-card:focus-visible {
  outline: 3px solid var(--rehorn-orange);
  outline-offset: 3px;
}

/* ---- Gallery block: Load More ---- */

.rehorn-gallery-more {
  margin-top: 40px;
  text-align: center;
}

.rehorn-gallery-more[hidden] {
  display: none;
}

.rehorn-gallery-loadmore {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 16px 30px;
}

.rehorn-gallery-loadmore .rehorn-gallery-more-icon {
  width: 14px;
  height: 14px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.rehorn-gallery-loadmore[disabled],
.rehorn-gallery-loadmore.is-loading {
  opacity: 0.65;
  cursor: default;
}

@media (max-width: 1200px) {
  .rehorn-gallery-grid {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
  }
}

@media (max-width: 820px) {
  .rehorn-gallery-grid {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  }
}

@media (max-width: 520px) {
  .rehorn-gallery-grid {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
  }
}

/* ---- "Three Decades" green trust band ---- */

.rehorn-galtrust {
  position: relative;
}

.rehorn-galtrust > .kt-row-column-wrap {
  position: relative;
  z-index: 1;
}

.rehorn-galtrust > .kt-row-column-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
}

.rehorn-galtrust > .kt-row-column-wrap > .wp-block-kadence-column {
  position: relative;
  z-index: 1;
}

/* gap + page gutter must beat Kadence's equal-specificity row CSS → chain the row class */

.kb-row-layout-wrap.rehorn-galtrust > .kt-row-column-wrap {
  gap: clamp(40px, 5vw, 84px);
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

/* green torn edge tearing UP into the masonry section above */

.kb-row-layout-wrap.rehorn-galtrust::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -45px;
  height: 46px;
  z-index: 4;
  pointer-events: none;
  background: url(../img/edge-torn-green.svg) no-repeat;
  background-size: 100% 100%;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}

/* left column: heading, copy, button, stats */

.rehorn-galtrust-left .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.rehorn-galtrust-eyebrow {
  display: block;
  font-size: 21px;
  margin: 0 0 6px;
}

.rehorn-galtrust-heading {
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.02;
  margin: 0 0 28px;
}

.rehorn-galtrust-body {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 18px;
  max-width: 600px;
}

.rehorn-galtrust-left .kb-buttons-wrap,
.rehorn-galtrust-left .wp-block-kadence-advancedbtn {
  margin: 14px 0 0;
}

/* stat row — nested Kadence row, 3 equal columns of advanced headings */

.kb-row-layout-wrap.rehorn-galtrust-stats {
  width: 100%;
  margin-top: 40px;
}

.kb-row-layout-wrap.rehorn-galtrust-stats > .kt-row-column-wrap {
  gap: 0;
}

.rehorn-galtrust-stat {
  border-right: 1px solid rgba(241, 241, 241, 0.35);
}

.rehorn-galtrust-stat:last-child {
  border-right: none;
}

.rehorn-galtrust-stat .kt-inside-inner-col {
  padding-left: 32px;
}

.rehorn-galtrust-stat:first-child .kt-inside-inner-col {
  padding-left: 0;
}

.rehorn-galtrust-statv {
  display: block;
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  font-size: 50px;
  line-height: 1;
  margin: 0 0 6px;
}

.rehorn-galtrust-statl {
  display: block;
  color: var(--rehorn-text-muted);
  font-family: var(--rehorn-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

/* About Us button trailing arrow (up-right), matching the homepage CTA buttons */

.kb-btngaltrbtn1 {
  border-radius: 999px !important;
}

/* right column: two cards (each a core group of native blocks) */

.rehorn-galtrust-right .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

.rehorn-galtrust-card {
  border-radius: 8px;
  padding: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}

.rehorn-galtrust-card > * {
  margin: 0;
}

/* kill block-gap / figure margins; flex gap owns spacing */

.rehorn-galtrust-card-dark {
  background: var(--rehorn-black);
}

.rehorn-galtrust-card-cream {
  background: var(--rehorn-cream);
}

.rehorn-galtrust-cardimg {
  width: 100%;
  height: 194px;
  border-radius: 8px;
  overflow: hidden;
}

.rehorn-galtrust-cardimg img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.rehorn-galtrust-cardtitles {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
}

.rehorn-galtrust-cardtitles > * {
  margin: 0;
}

.rehorn-galtrust-cardeye {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  margin: 0;
}

.rehorn-galtrust-cardeye-gray {
  color: var(--rehorn-gray);
}

.rehorn-galtrust-cardh {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  margin: 0;
}

.rehorn-galtrust-cardh-green {
  color: var(--rehorn-green);
}

.rehorn-galtrust-cardp {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

.rehorn-galtrust-cardp-dark {
  color: var(--rehorn-black);
}

@media (max-width: 767px) {
  .rehorn-gallery {
    margin-top: 24px;
  }
  .rehorn-gallery-filters {
    gap: 8px;
    margin-bottom: 28px;
  }
  /* stack the green band's two columns; keep the 3 stats inline (short values) */
  .kb-row-layout-wrap.rehorn-galtrust > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
    gap: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .kb-row-layout-wrap.rehorn-galtrust-stats > .kt-row-column-wrap {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .rehorn-galtrust-stat .kt-inside-inner-col {
    padding-left: 14px;
  }
  .rehorn-galtrust-statv {
    font-size: 36px;
  }
}

/* =====================================================================
   Service Listing page (native template: page-services.php)
   Implements Figma "Service Listing" 4436:3187 — hero, intro + stats,
   dynamic services grid, "Why Choose Rehorn" stepper, testimonials, FAQ.
   Each section is full-bleed (alignfull) with a 1440-wide inner + the
   shared responsive gutter. Section torn edges live on the section
   ::before (its own colour, tearing up into the section above).
   ===================================================================== */

.rehorn-svc-page {
  overflow: hidden;
}

.rehorn-svc-page p {
  margin: 0;
}

:where(
    .rehorn-svc-intro,
    .rehorn-svc-listing,
    .rehorn-svc-why,
    .rehorn-svc-faq
  ) {
  position: relative;
}

.rehorn-svc-listing-inner,
.rehorn-svc-why-inner {
  /* Shared 1440px content container (same formula as .rehorn-contained). */
  width: min(var(--rehorn-content-width), 100% - clamp(40px, 8vw, 160px));
  margin: 0 auto;
}

/* ---- Hero title/sub (reused by the Services + Projects listing core/cover heroes) ---- */

.rehorn-svc-hero-title,
.rehorn-proj-hero-title {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(54px, 8vw, 90px);
  line-height: 1;
  margin: 0;
}

.rehorn-svc-hero-sub,
.rehorn-proj-hero-sub {
  color: var(--rehorn-white);
  font-size: 18px;
  line-height: 1.4;
  margin: 18px auto 0;
  max-width: 620px;
}

/* Services + Projects (Figma 4436:5218) listing heroes as an editable core/cover: the cover
   supplies the photo, dark wash, min-height and centering; we add the top+bottom torn edges
   and the centered 900px content box (reusing the -hero-title/-sub typography above). */

.rehorn-svc-hero-cover::before,
.rehorn-svc-hero-cover::after,
.rehorn-proj-hero-cover::before,
.rehorn-proj-hero-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 2;
  pointer-events: none;
  background: url(../img/edge-torn-white.svg) center / 100% 100% no-repeat;
}

.rehorn-svc-hero-cover::before,
.rehorn-proj-hero-cover::before {
  top: -1px;
}

.rehorn-svc-hero-cover::after,
.rehorn-proj-hero-cover::after {
  bottom: -1px;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}

.rehorn-svc-hero-cover .wp-block-cover__inner-container,
.rehorn-proj-hero-cover .wp-block-cover__inner-container {
  max-width: 900px;
  padding: 64px 24px;
  text-align: center;
}

/* The full-bleed bands abut (torn edges transition between them); kill the block-spacing
   margin Kadence applies to core blocks inside .single-content (.single-content .wp-block-cover,
   0,2,0). Chaining 3 classes (0,3,0) wins over Kadence's later-loaded rule without !important. */

.rehorn-svc-hero-cover.wp-block-cover.alignfull,
.rehorn-proj-hero-cover.wp-block-cover.alignfull {
  margin-top: 0;
  margin-bottom: 0;
}

/* ---- Shared eyebrow colour helpers (font-family/uppercase come from .rehorn-eyebrow) ---- */

.rehorn-svc-eyebrow {
  display: block;
  font-size: 13px;
  color: var(--rehorn-gray);
  margin-bottom: 14px;
}

.rehorn-svc-eyebrow-light {
  color: rgba(225, 219, 196, 0.75);
}

/* ---- Intro + stats ---- */

.rehorn-svc-intro {
  background: var(--rehorn-white);
}

.rehorn-svc-intro-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.05;
  margin: 0;
}

.rehorn-svc-intro-right {
  border-top: 2px solid var(--rehorn-orange);
  padding-top: 30px;
}

.rehorn-svc-intro-right p {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.6;
}

.rehorn-svc-intro-right p + p {
  margin-top: 20px;
}

.rehorn-svc-stat {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding-left: 30px;
  border-left: 1px solid rgba(58, 56, 59, 0.18);
}

.rehorn-svc-stat:first-child {
  padding-left: 0;
  border-left: none;
}

.rehorn-svc-stat-v {
  display: block;
  font-family: var(--rehorn-font-display);
  color: var(--rehorn-orange);
  font-size: clamp(40px, 4vw, 50px);
  line-height: 1;
}

.rehorn-svc-stat-l {
  display: block;
  font-family: var(--rehorn-font-mono);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--rehorn-gray);
  margin-top: 10px;
}

.rehorn-svc-stats-row {
  margin-top: 44px;
}

/* stats as a Kadence 3-col row (the .rehorn-svc-stat columns keep their border dividers) */

/* ---- Services grid (green band + topo + dynamic cards) ---- */

.rehorn-svc-listing {
  background: var(--rehorn-green);
}

.rehorn-svc-listing-inner {
  padding-top: 120px;
  padding-bottom: 130px;
}

.rehorn-svc-listing-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.28;
}

.rehorn-svc-listing-inner {
  position: relative;
}

.rehorn-svc-listing-inner > * {
  position: relative;
  z-index: 1;
}

.rehorn-svc-listing-head {
  margin-bottom: 24px;
}

.rehorn-svc-listing-heading {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  margin: 0;
  max-width: 900px;
}

.rehorn-svc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.rehorn-svccard {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: var(--rehorn-cream);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.rehorn-svccard-img {
  display: block;
  width: 100%;
  aspect-ratio: 458 / 326;
  background-size: cover;
  background-position: center;
  background-color: #2b2a2b;
}

.rehorn-svccard-body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 26px 32px 28px;
}

.rehorn-svccard-title {
  display: block;
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 23px;
  line-height: 1.05;
  margin-bottom: 14px;
}

.rehorn-svccard-desc {
  display: block;
  color: var(--rehorn-black);
  font-size: 15px;
  line-height: 1.6;
}

.rehorn-svccard-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  background: var(--rehorn-orange);
  color: #fff;
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  padding: 17px 32px;
}

.rehorn-svccard-btn::after {
  content: "";
  width: 16px;
  height: 16px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 16px;
          flex: 0 0 16px;
  background-color: currentColor;
  -webkit-mask: url(../img/arrow-right.svg) center / contain no-repeat;
  mask: url(../img/arrow-right.svg) center / contain no-repeat;
}

.rehorn-svccard:hover .rehorn-svccard-btn {
  background: #c4521f;
}

.rehorn-svccard:hover .rehorn-svccard-title {
  color: var(--rehorn-black);
}

/* ---- Why Choose Rehorn (cream band + topo + stepper) ---- */

.rehorn-svc-why {
  background-color: var(--rehorn-cream);
  /* Topo pattern (white-line PNG on transparent) over the cream, dimmed by a cream
     overlay so the lines read subtly — matches Figma's ~30%-opacity background pattern.
     Layered on the section background (not a pseudo) so it spans full-bleed and needs
     no stacking-context juggling — the row content paints above it naturally. */
  background-image: -webkit-gradient(
      linear,
      left top, left bottom,
      from(rgba(225, 219, 196, 0.5)),
      to(rgba(225, 219, 196, 0.5))
    ),
    url(../img/bg-pattern-topo-light.png);
  background-image: linear-gradient(
      rgba(225, 219, 196, 0.5),
      rgba(225, 219, 196, 0.5)
    ),
    url(../img/bg-pattern-topo-light.png);
  background-size:
    auto,
    1573px 750px;
  background-position:
    center,
    top left;
  background-repeat: no-repeat, repeat;
}

.rehorn-svc-why-inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 110px;
}

.rehorn-svc-why-inner > * {
  position: relative;
  z-index: 1;
}

.rehorn-svc-why-head {
  margin-bottom: 56px;
  max-width: 1180px;
}

.rehorn-svc-why-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.rehorn-svc-why-sub {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.6;
}

/* Orange divider grid (Figma): a 2px rule across the top of all steps + 1px verticals
   between columns. Borders sit on the column edges (steps row has no gutter), so they
   form continuous lines; pt/px give the inner spacing. */

.rehorn-svc-step {
  border-top: 2px solid var(--rehorn-orange);
  padding: 32px 24px 0;
}

.rehorn-svc-step:not(:first-child) {
  border-left: 1px solid var(--rehorn-orange);
}

.rehorn-svc-step-num {
  display: block;
  font-family: var(--rehorn-font-display);
  color: var(--rehorn-orange);
  font-size: clamp(56px, 6vw, 90px);
  line-height: 1;
  margin-bottom: 14px;
}

.rehorn-svc-step-label {
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}

.rehorn-svc-step-desc {
  color: var(--rehorn-gray);
  font-size: 15px;
  line-height: 1.6;
}

.rehorn-svc-callout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--rehorn-orange);
}

.rehorn-svc-callout-dot {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 8px;
          flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rehorn-orange);
}

.rehorn-svc-callout-text {
  font-family: var(--rehorn-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: var(--rehorn-gray);
}

/* ---- FAQ (off-white band: left intro + phone card / right accordion) ---- */

.rehorn-svc-faq {
  background: var(--rehorn-white);
}

.rehorn-svccost::before,
.rehorn-svcissues::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 61px;
  z-index: 4;
  pointer-events: none;
  -webkit-mask: url(../img/edge-torn-faq.svg);
          mask: url(../img/edge-torn-faq.svg);
  -webkit-mask-position: bottom center;
          mask-position: bottom center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: cover;
          mask-size: cover;
  bottom: -60px;
  background: var(--rehorn-black);
}

.rehorn-svcissues::before {
  background: #e1dbc4;
}

.rehorn-svcissues::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 61px;
  z-index: 4;
  pointer-events: none;
  -webkit-mask: url(../img/edge-torn-faq.svg);
          mask: url(../img/edge-torn-faq.svg);
  -webkit-mask-position: bottom center;
          mask-position: bottom center;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: cover;
          mask-size: cover;
  top: 0;
  background: var(--rehorn-white);
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

.rehorn-svc-faq-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.rehorn-svc-faq-sub {
  color: var(--rehorn-gray);
  font-size: 16px;
  line-height: 1.6;
}

.rehorn-svc-phone {
  margin-top: 32px;
  background: var(--rehorn-orange);
  border-radius: 8px;
  padding: 26px 32px;
}

.rehorn-svc-phone-label {
  display: block;
  font-family: var(--rehorn-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.rehorn-svc-phone-num {
  display: block;
  font-family: var(--rehorn-font-display);
  color: #fff;
  text-decoration: none;
  font-size: 38px;
  line-height: 1;
  margin: 8px 0 10px;
}

.rehorn-svc-phone-num a {
  text-decoration: none;
}

.rehorn-svc-phone-num:hover {
  color: #fff;
  opacity: 0.92;
}

.rehorn-svc-phone-hours {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.rehorn-svc-faq-list {
  border-top: 1px solid rgba(58, 56, 59, 0.16);
}

.rehorn-svc-faq-item {
  border-bottom: 1px solid rgba(58, 56, 59, 0.16);
}

/* FAQ items are now editable core/details blocks: <details class="rehorn-svc-faq-item">
   > <summary> + <p>. Selectors target that structure (was .rehorn-svc-faq-q / -a). */

.rehorn-svc-faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 19px;
  line-height: 1.2;
}

.rehorn-svc-faq-item > summary::-webkit-details-marker {
  display: none;
}

.rehorn-svc-faq-item > summary::marker {
  content: "";
}

.rehorn-svc-faq-item > summary::after {
  content: "+";
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  color: var(--rehorn-orange);
  font-family: var(--rehorn-font-body);
  font-size: 30px;
  line-height: 1;
  font-weight: 300;
}

.rehorn-svc-faq-item[open] > summary::after {
  content: "\2212";
}

/* minus */

.rehorn-svc-faq-item > p {
  color: var(--rehorn-gray);
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
  padding: 0 0 30px;
  margin: -6px 0 0;
}

/* ---- Section torn edges (each = the section's own colour, tearing up) ---- */

.rehorn-svc-listing::before,
.rehorn-svc-why::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: -45px;
  height: 46px;
  z-index: 4;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
}

.rehorn-svc-listing::before {
  background-image: url(../img/edge-torn-green.svg);
}

/* into the intro */

.rehorn-svc-why::before {
  background-image: url(../img/edge-torn-cream.svg);
}

/* into the services grid */

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .rehorn-svc-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .rehorn-svc-listing-inner,
  .rehorn-svc-why-inner {
    padding-top: 72px;
    padding-bottom: 80px;
  }
}

@media (max-width: 600px) {
  .rehorn-svc-cards {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   About page  (Figma 4369:8317)
   Hero / intro / team band / facility / credentials. The shared "Three
   Decades" green band (.rehorn-galtrust) and the Google-reviews block
   (.rehorn-testimonials) are reused from the Gallery + Homepage and need
   no extra CSS here.
   ===================================================================== */

/* ---- Hero ---- (bg photo + dark wash + height are on the row block) */

.rehorn-about-hero {
  position: relative;
}

.rehorn-about-hero-col .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

.rehorn-about-hero-title {
  color: var(--rehorn-white);
  font-size: clamp(48px, 7vw, 90px);
  line-height: 1;
  margin: 0;
}

.rehorn-about-hero-sub {
  color: var(--rehorn-white);
  font-size: 18px;
  line-height: 1.4;
  margin: 24px 0 0;
  max-width: 560px;
}

/* ---- "Built for RVs" intro ---- (2-col; vertical padding on the row block) */

.rehorn-about-intro {
  position: relative;
}

.rehorn-about-intro-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-size: 21px;
  margin: 0 0 8px;
}

.rehorn-about-intro-heading {
  color: var(--rehorn-green);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
  margin: 0 0 24px;
}

.rehorn-about-intro-body {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 18px;
  max-width: 620px;
}

.rehorn-about-intro-note {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.rehorn-about-intro-img {
  margin: 0;
}

.rehorn-about-intro-img img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  aspect-ratio: 699/713;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ---- Team group photo band ---- (bg image + height on the row block;
   the green torn edge below it is .rehorn-galtrust::before) */

.rehorn-about-teamband {
  position: relative;
}

/* ---- "20,000 Sq Ft" facility ---- (2-col; image left, text + 2x2 stats right) */

.rehorn-about-facility {
  position: relative;
}

.rehorn-about-facility-img {
  margin: 0;
}

.rehorn-about-facility-img img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  aspect-ratio: 699/713;
  -o-object-fit: cover;
     object-fit: cover;
}

.rehorn-about-facility-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-size: 21px;
  margin: 0 0 8px;
}

.rehorn-about-facility-heading {
  color: var(--rehorn-green);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
  margin: 0 0 24px;
}

.rehorn-about-facility-body {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 18px;
}

/* 2x2 cream stat cards — a nested Kadence row of 4 columns laid 2 per row */

.kb-row-layout-wrap.rehorn-about-fstats {
  width: 100%;
  margin-top: 16px;
}

.kb-row-layout-wrap.rehorn-about-fstats > .kt-row-column-wrap {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
}

.rehorn-about-fstat .kt-inside-inner-col {
  background: var(--rehorn-cream);
  border-radius: 8px;
  padding: 28px 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
  height: 100%;
}

.rehorn-about-fstatv {
  display: block;
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: 1.04;
}

.rehorn-about-fstatl {
  display: block;
  color: var(--rehorn-gray);
  font-family: var(--rehorn-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

/* ---- Certifications & Partnerships (rehorn/credentials block) ---- */

.rehorn-about-credentials {
  position: relative;
}

.rehorn-about-cred-inner .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding-left: clamp(24px, 8.3vw, 148px);
  padding-right: clamp(24px, 8.3vw, 148px);
}

.rehorn-about-cred-eyebrow {
  display: block;
  color: var(--rehorn-black);
  font-size: 21px;
  margin: 0 0 8px;
}

.rehorn-about-cred-heading {
  color: var(--rehorn-green);
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.04;
  margin: 0 0 48px;
}

.rehorn-cred {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 48px;
}

.rehorn-cred-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rehorn-cred-card {
  background: var(--rehorn-cream);
  border-radius: 8px;
  padding: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  text-align: center;
  min-height: 320px;
}

.rehorn-cred-ico {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--rehorn-orange);
  color: var(--rehorn-white);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.rehorn-cred-card-title {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
  margin: 0;
}

.rehorn-cred-card-desc {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

/* Insurance partners box */

.rehorn-cred-ins {
  border: 1px solid var(--rehorn-gray);
  border-radius: 8px;
  padding: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

.rehorn-cred-ins-heading {
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  margin: 0 !important;
}

.rehorn-cred-tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.rehorn-cred-tag {
  background: var(--rehorn-cream);
  color: var(--rehorn-black);
  border-radius: 6px;
  padding: 10px 20px;
  font-family: var(--rehorn-font-mono);
  font-size: 14px;
  line-height: 1;
}

.rehorn-cred-callout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.rehorn-cred-callout-text {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 !important;
  max-width: 840px;
}

.rehorn-cred-phone {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--rehorn-orange);
  border-radius: 999px;
  color: var(--rehorn-orange);
  text-decoration: none;
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 16px;
  white-space: nowrap;
  -webkit-transition:
    background 0.15s ease,
    color 0.15s ease;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.rehorn-cred-phone:hover {
  background: var(--rehorn-orange);
  color: var(--rehorn-white);
}

.rehorn-cred-phone-ico {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

/* ---- Outline button variant (transparent + orange border/text) ---- */

.kb-button.rehorn-btn-outline {
  background: transparent !important;
  color: var(--rehorn-orange) !important;
  border: 1px solid var(--rehorn-orange) !important;
  border-radius: 999px !important;
}

.kb-button.rehorn-btn-outline:hover {
  background: var(--rehorn-orange) !important;
  color: var(--rehorn-white) !important;
}

/* ---- About torn edges ---- (white; the .kb-row-layout-wrap qualifier beats
   Kadence's clearfix ::before, same as the homepage edges block) */

.kb-row-layout-wrap.rehorn-about-hero::before,
.kb-row-layout-wrap.rehorn-about-intro::before,
.kb-row-layout-wrap.rehorn-about-facility::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 4;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.rehorn-about-intro::before,
.rehorn-about-facility::before {
  top: -45px;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
  background-image: url(../img/edge-torn-white.svg);
}

.rehorn-about-hero::before {
  top: -1px;
  background-image: url(../img/edge-torn-white.svg);
}

/* ---- About responsive ---- */

@media (max-width: 1024px) {
  .rehorn-cred-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

@media (max-width: 767px) {
  .kb-row-layout-wrap.rehorn-about-intro > .kt-row-column-wrap,
  .kb-row-layout-wrap.rehorn-about-facility > .kt-row-column-wrap {
    grid-template-columns: 1fr !important;
    padding-left: 20px;
    padding-right: 20px;
  }
  .rehorn-cred-cards {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .rehorn-cred-card {
    min-height: 0 !important;
    padding: 24px 20px !important;
  }
  .rehorn-cred-card-title {
    font-size: 24px !important;
  }
  .rehorn-cred-card-desc {
    font-size: 16px !important;
  }
  .rehorn-about-cred-inner .kt-inside-inner-col {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  .rehorn-about-cred-heading {
    margin-bottom: 32px !important;
  }
}

/* ---- Smooth scroll + jump-nav anchor offsets (CSS only, no JS) ----
   Clicking a Section Nav link scrolls smoothly; scroll-margin-top keeps the
   sticky header from covering the target. Honors reduced-motion. */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

#common-issues,
#whats-included,
#what-to-expect,
#cost-breakdown,
#faqs,
#testimonials {
  scroll-margin-top: clamp(96px, 11vh, 124px);
}

/* ---- About This Service + sticky jump nav ---- */

/* Pull the card up to overlap the hero's torn edge (lift its wrap above the edge,
   the documented stacking fix), and split content into a wide card + a 248px nav. */

/* Pull the whole off-white section up so its card + jump-nav straddle the hero
   (Figma: ~72px overlap), with a torn top edge tearing UP into the hero photo so
   the overlap reads as an intentional straddle (not a straight seam). */

.rehorn-service-about {
  position: relative;
  z-index: 5;
  margin-top: 0;
}

.kb-row-layout-wrap.rehorn-service-about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -45px;
  height: 46px;
  z-index: 1;
  display: block;
  background: url(../img/edge-torn-white.svg) center / 100% 100% no-repeat;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
  pointer-events: none;
}

.kb-row-layout-wrap.rehorn-service-about > .kt-row-column-wrap {
  position: relative;
  z-index: 5;
  -webkit-transform: translateY(-72px);
          transform: translateY(-72px);
}

.kb-row-layout-wrap.rehorn-service-about.rehorn-contained
  > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: clamp(24px, 3vw, 48px);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.rehorn-svcabout-cardcol > .kt-inside-inner-col,
.rehorn-svcabout-navcol > .kt-inside-inner-col {
  padding: 0;
}

/* Green card: photo flush-left, copy right, rounded with the photo clipped. The
   green fill is set here in CSS (a nested Kadence row does not render its bgColor
   attribute reliably — same approach as the Contact card's .rehorn-contact-info). */

.kb-row-layout-wrap.rehorn-svcabout-card {
  background: var(--rehorn-green);
  border-radius: 10px;
  overflow: hidden;
  -webkit-box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
          box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

/* Stretch both columns to equal height so the photo fills the card (Kadence
   defaults a nested row to valign-top, which would collapse the image's height).
   Photo : copy = 509 : 652 per Figma (the photo is the smaller column). */

.kb-row-layout-wrap.rehorn-svcabout-card > .kt-row-column-wrap {
  gap: 0;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  grid-template-columns: 509fr 652fr;
}

.rehorn-svcabout-imgcol,
.rehorn-svcabout-imgcol > .kt-inside-inner-col {
  height: 100%;
}

.rehorn-svcabout-imgcol > .kt-inside-inner-col {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.rehorn-svcabout-img {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 320px;
}

.rehorn-svcabout-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* Green also on the text COLUMN (a class present in the block editor canvas, unlike
   the front-end-only .kb-row-layout-wrap) so the white copy stays readable while
   editing — same approach as the Contact card's .rehorn-contact-info panel. */

.rehorn-svcabout-text {
  background: var(--rehorn-green);
  position: relative;
}

/* Topographic contour pattern behind the copy (Figma — the green panel carries the
   same topo as the other green bands). */

.rehorn-svcabout-text::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
}

.rehorn-svcabout-text > .kt-inside-inner-col {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 3.6vw, 56px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 20px;
}

.rehorn-svcabout-heading {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.02;
  margin: 0;
}

.rehorn-svcabout-body {
  color: var(--rehorn-white);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.94;
}

.rehorn-svcabout-text .wp-block-kadence-advancedbtn {
  margin-top: 8px;
}

.rehorn-svcabout-text .kb-buttons-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -ms-flex-item-align: start;
      align-self: flex-start;
  width: 100%;
  max-width: 100%;
}

.rehorn-svcabout-text .rehorn-svcabout-btn {
  -ms-flex-item-align: start;
      align-self: flex-start;
}

.rehorn-svcabout-text .rehorn-svcabout-btn a.kb-button {
  margin-left: 0 !important;
  margin-right: auto !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: var(--Button-Height, 52px);
  padding: 0 var(--Padding, 24px);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: var(--Gap, 8px);
  border-radius: var(--Corner-Round, 999px);
  background: var(
    --Button-Settings-Secondary-Filled-Default-Background-2,
    #e1dbc4
  );
  color: var(--rehorn-black);
  border: none;
}

/* Section Nav block — a sticky stack of orange jump links with a down-arrow. */

.rehorn-svcabout-navcol > .kt-inside-inner-col {
  height: 100%;
}

.rehorn-svcnav {
  position: sticky;
  top: clamp(84px, 9vh, 112px);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
}

.rehorn-svcnav-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  /* A slightly darker brand orange so the off-white label clears WCAG AA contrast
     (4.5:1) on this primary jump-nav — the resting brand orange (#D8602C) is only
     3.3:1 with #F1F1F1 at this 17px display size. */
  background: #b14a1e;
  color: var(--rehorn-white);
  text-decoration: none;
  padding: 21px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 17px;
  line-height: 1.1;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
}

.rehorn-svcnav-link:last-child {
  border-bottom: 0;
}

.rehorn-svcnav-link:hover,
.rehorn-svcnav-link:focus-visible {
  background: #98401a;
  color: var(--rehorn-white);
}

.rehorn-svcnav-link:focus-visible {
  outline: 2px solid var(--rehorn-white);
  outline-offset: -4px;
}

.rehorn-svcnav-arrow {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  opacity: 0.9;
}

/* ---- Common Issues (cream band; heading + intro / 2-col numbered grid) ---- */

.rehorn-service-why {
  background: var(--rehorn-cream);
}

/* .kb-row-layout-wrap.rehorn-service-why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: url(../img/bg-pattern-topo-light.png) top left / 1573px 750px
    repeat;
  opacity: 0.5;
} */

.kb-row-layout-wrap.rehorn-service-why {
  background-image: url(../img/bg-pattern-topo-light.png);
  background-position: top left;
  background-size: 1573px 750px;
  background-repeat: repeat;
  background-blend-mode: color-burn;
}

.kb-row-layout-wrap.rehorn-service-why > .kt-row-column-wrap {
  position: relative;
  z-index: 1;
}

.rehorn-svcissues {

}

.rehorn-svcissues-heading {
  color: var(--rehorn-gray);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.6vw, 50px);
  line-height: 1.04;
  margin: 0 0 18px;
}

.rehorn-svcissues-intro {
  color: var(--rehorn-black);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 360px;
}

/* Render the process-steps block as a 2-col grid of stacked numbered cards. */

.rehorn-service-why .rehorn-psteps-block {
  padding: 0;
}

.rehorn-service-why .rehorn-psteps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
}

.rehorn-service-why .rehorn-pstep {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  border-top: 2px solid var(--rehorn-orange);
  padding-top: 20px;
}

.rehorn-service-why .rehorn-pstep-num {
  font-size: clamp(40px, 3.4vw, 50px);
}

.rehorn-service-why .rehorn-pstep-title {
  font-size: clamp(20px, 1.8vw, 24px);
}

.rehorn-service-why .rehorn-pstep-desc {
  font-size: 16px;
  line-height: 1.5;
}

/* ---- Full-bleed image band ---- */

.rehorn-svcband {
  position: relative;
}

/* ---- What's Included (dark green band; header + 3 card columns + footnote) ----
   CMS-DRIVEN: heading/title/eyebrow colour + size, the intro/footnote body colour,
   and the checklist marker icon + its colours are all editable Kadence/core BLOCK
   ATTRIBUTES (set in rh_sec_service_included / rh_iconlist / rh_pstyled), NOT here.
   This block now carries ONLY the non-editable decoration + layout for the section.
   (Band background is the row's bgColor=palette1 attribute, not a CSS rule.) */

.kb-row-layout-wrap.rehorn-service-included::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.28;
}

.kb-row-layout-wrap.rehorn-service-included > .kt-row-column-wrap {
  position: relative;
  z-index: 1;
}

.rehorn-svcincl-inner > .kt-inside-inner-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 56px;
}

.rehorn-svcincl-head > .kt-row-column-wrap {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

.rehorn-svcincl-cards > .kt-row-column-wrap {
  gap: 24px;
}

.rehorn-svcincl-col {
  background: var(--rehorn-black);
  border-top: 3px solid var(--rehorn-orange);
  border-radius: 8px;
  overflow: hidden;
}

.rehorn-svcincl-col > .kt-inside-inner-col {
  padding: 36px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 28px;
}

/* Checklist spacing is 24px between lines, with no dividers. The marker/icon,
   its colour, and the text colour remain editable block attributes. */

.rehorn-svcincl-list ul.kt-svg-icon-list,
.rehorn-svcincl-list ol.kt-svg-icon-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px !important;
  margin: 0;
  padding: 0;
}

.rehorn-svcincl-list .kt-svg-icon-list-item-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 0 !important;
  border: 0 !important;
  margin: 0;
}

/* Footnote keeps only the shared mono-label decoration; its colour + size are block attributes. */

.rehorn-svcincl-footnote {
  font-family: var(--rehorn-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
}

/* ---- What to Expect (cream band; 5-up stepper) — reuses .rehorn-svc-step* ---- */

.rehorn-service-faq {
  background: var(--rehorn-cream);
}

/* Full-bleed topo on the OUTER wrap so the pattern spans the band while the content
   column (.rehorn-contained) caps at 1440. */

.kb-row-layout-wrap.rehorn-service-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: url(../img/bg-pattern-topo-light.png) top left / 1573px 750px
    repeat;
  opacity: 0.5;
}

.kb-row-layout-wrap.rehorn-service-faq > .kt-row-column-wrap {
  position: relative;
  z-index: 1;
}

.rehorn-svcexpect-head {
  margin: 0 0 56px;
  max-width: 780px;
}

.rehorn-svcexpect-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.rehorn-svcexpect-sub {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.rehorn-svc-step-when {
  display: block;
  color: var(--rehorn-gray);
  font-size: 13px;
  margin: 0 0 10px;
}

.rehorn-svcexpect-step .rehorn-svc-step-num {
  margin-bottom: 12px;
}

/* ---- Cost Breakdown (near-black band; factors + orange insurance card) ---- */

.rehorn-service-cost {
  background: var(--rehorn-black);
}

.kb-row-layout-wrap.rehorn-service-cost.rehorn-contained > .kt-row-column-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.rehorn-svccost-heading {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.04;
  margin: 0 0 16px;
}

.rehorn-svccost-intro {
  color: var(--rehorn-text-muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 560px;
}

.rehorn-svccost-factors {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.rehorn-svccost-factor {
  border-top: 1px solid rgba(241, 241, 241, 0.18);
  padding: 24px 0;
}

.rehorn-svccost-factor:last-child {
  border-bottom: 1px solid rgba(241, 241, 241, 0.18);
}

.rehorn-svccost-factor-label {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 8px;
}

.rehorn-svccost-factor-desc {
  color: var(--rehorn-text-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

/* Orange-to-cream insurance callout card. */

.rehorn-svccost-card {
  position: relative;
  overflow: hidden;
  background: var(--rehorn-cream);
  border-radius: 10px;
  border-top: 4px solid var(--rehorn-orange);
  padding: clamp(32px, 3vw, 48px);
}

.rehorn-svccost-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo-light.png) top left / 1100px 524px
    repeat;
  opacity: 0.4;
}

.rehorn-svccost-card > * {
  position: relative;
  z-index: 1;
}

.rehorn-svccost-card-eyebrow {
  color: var(--rehorn-gray);
}

.rehorn-svccost-card-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.05;
  margin: 6px 0 18px;
}

.rehorn-svccost-card-body {
  color: var(--rehorn-black);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 24px;
}

.rehorn-svccost-checks {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
}

.rehorn-svccost-checks li {
  position: relative;
  padding-left: 34px;
  color: var(--rehorn-black);
  font-size: 16px;
  line-height: 1.4;
}

.rehorn-svccost-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--rehorn-orange);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.55 17.6 4.4 12.45l1.4-1.4 3.75 3.75 8.25-8.25 1.4 1.4z'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

.rehorn-svccost-checks li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1.5px solid var(--rehorn-orange);
}

/* Button layout comes from the shared builder template now. */

.rehorn-svcabout-btn a.kb-button,
.rehorn-svccost-btn a.kb-button {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

/* ---- Testimonial — LIGHT variant of the .rehorn-ftst / .rehorn-tstm band ---- */

.rehorn-service-testimonial {
  background: var(--rehorn-white);
}

.kb-row-layout-wrap.rehorn-service-testimonial::before {
  display: none;
}

/* no dark topo overlay on the light band */

.rehorn-service-testimonial .rehorn-tstm-heading {
  color: var(--rehorn-green);
}

.rehorn-service-testimonial .rehorn-tstm-quote .rehorn-tstm-quote-p,
.rehorn-service-testimonial .rehorn-tstm-quote > p {
  color: var(--rehorn-black);
}

.rehorn-service-testimonial .rehorn-tstm-name {
  color: var(--rehorn-green);
}

.rehorn-service-testimonial .rehorn-tstm-role {
  color: var(--rehorn-black);
}

.rehorn-service-testimonial .rehorn-tstm-star--empty,
.rehorn-service-testimonial .rehorn-tstm-star-layer--base path {
  fill: var(--rehorn-black);
}

/* ---- Related Services band (off-white; heading + cover-title cards) ---- */

.rehorn-relsvc {
  position: relative;
  background: var(--rehorn-white);
  padding: 96px 0 110px;
}

.rehorn-relsvc-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 32px;
  width: 100%;
  margin: 0 0 42px;
}

.rehorn-relsvc-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1;
  margin: 0;
}

.rehorn-relsvc-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  justify-self: end;
  margin-left: 0;
  background: var(--rehorn-cream);
  color: var(--rehorn-black);
  text-decoration: none;
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  -webkit-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
}

.rehorn-relsvc-btn:hover {
  background: #d4cdb2;
  color: var(--rehorn-black);
}

.rehorn-relsvc-btn img {
  width: 16px;
  height: 16px;
}

.rehorn-relsvc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rehorn-relsvc-card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  min-height: 514px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-color: var(--rehorn-green);
  padding: 32px;
}

.rehorn-relsvc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(
    linear,
    left bottom, left top,
    from(rgba(0, 0, 0, 0.82)),
    color-stop(55%, rgba(0, 0, 0, 0.15)),
    color-stop(80%, rgba(0, 0, 0, 0))
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0) 80%
  );
}

.rehorn-relsvc-card-title {
  position: relative;
  z-index: 1;
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.05;
}

/* ---- Service Detail responsive ---- */

@media (max-width: 1024px) {
  .kb-row-layout-wrap.rehorn-service-cost.rehorn-contained
    > .kt-row-column-wrap {
    grid-template-columns: 1fr;
  }
  .rehorn-service-why .rehorn-psteps {
    gap: 28px 32px;
  }
}

@media (max-width: 900px) {
  .rehorn-service-about {
    margin-top: 0;
  }
  .kb-row-layout-wrap.rehorn-service-about.rehorn-contained
    > .kt-row-column-wrap {
    grid-template-columns: 1fr;
  }
  .kb-row-layout-wrap.rehorn-service-about > .kt-row-column-wrap {
    -webkit-transform: translateY(-56px);
            transform: translateY(-56px);
  }
  .rehorn-svcnav {
    position: static;
  }
  .rehorn-service-why .rehorn-psteps {
    grid-template-columns: 1fr;
  }
  .rehorn-relsvc-grid {
    grid-template-columns: 1fr;
  }
  .rehorn-relsvc-card {
    min-height: 360px;
  }
  .rehorn-relsvc-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .kb-row-layout-wrap.rehorn-svcabout-card > .kt-row-column-wrap {
    grid-template-columns: 1fr;
  }
  .rehorn-svcabout-img img {
    min-height: 220px;
  }
}

/* ---------------------------------------------------------------------
   editable blocks (rehorn-build.php `project` section); the hero is the
   rehorn/project-hero block printed via the Project Hero Kadence Element. Brand
   tokens + torn-edge / topo patterns reused from the rest of the site.
   ===================================================================== */

/* ---- Hero (rehorn/project-hero) — green band, image + title + spec strip ---- */

.rehorn-phero {
  position: relative;
  overflow: visible;
  background: var(--rehorn-green);
  padding: 90px 0 72px;
}

.rehorn-phero::before {
  /* topo pattern, full-bleed behind the content */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
}

.rehorn-phero::after {
  /* torn edge tearing down into the white section below */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 46px;
  z-index: 2;
  background: url(../img/edge-torn-white.svg) center / 100% 100% no-repeat;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
  pointer-events: none;
}

.rehorn-phero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--rehorn-content-width), 100% - clamp(40px, 8vw, 160px));
  margin-inline: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 84px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.rehorn-phero-media {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
}

.rehorn-phero-img {
  display: block;
  width: 100%;
  height: 538px;
  -o-object-fit: cover;
     object-fit: cover;
}

.rehorn-phero-text {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  padding: 0 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}

.rehorn-phero-title {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1;
  margin: 0;
}

.rehorn-phero-specs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  margin: 0;
}

.rehorn-phero-spec {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  margin: 0;
}

.rehorn-phero-spec-label {
  color: var(--rehorn-cream);
  font-family: var(--rehorn-font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

.rehorn-phero-spec-value {
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-mono);
  font-size: 21px;
  line-height: 1.1;
  margin: 0;
}

/* ---- Problem + Process band (white; 2-col: dark card | numbered steps) ---- */

.kb-row-layout-wrap.rehorn-project-problem > .kt-row-column-wrap {
  gap: 84px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.rehorn-pproblem-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--rehorn-black);
  padding: 64px;
  height: 100%;
}

.rehorn-pproblem-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
}

.rehorn-pproblem-card > * {
  position: relative;
  z-index: 1;
}

.rehorn-pproblem-eyebrow {
  display: block;
  font-size: 21px;
  margin: 0 0 4px;
}

.rehorn-pproblem-heading {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.04;
  margin: 0 0 24px;
}

.rehorn-pproblem-body {
  font-size: 18px;
  line-height: 1.66;
  margin: 0 0 16px;
}

.rehorn-pproblem-body:last-child {
  margin-bottom: 0;
}

.rehorn-pproblem-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/* Process steps (rehorn/process-steps) — reusable numbered list */

.rehorn-psteps-block {
  width: 100%;
  -ms-flex-item-align: center;
      align-self: center;
  padding: 24px 0;
}

.rehorn-psteps-head {
  margin: 0 0 32px;
}

.rehorn-psteps-eyebrow {
  display: block;
  color: var(--rehorn-gray);
  font-size: 21px;
  margin: 0 0 4px;
}

.rehorn-psteps-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1;
  margin: 0;
}

.rehorn-psteps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.rehorn-pstep {
  display: grid;
  grid-template-columns: 56px minmax(120px, 0.9fr) 1.5fr;
  gap: 10px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
  border-top: 2px solid var(--rehorn-orange);
  padding-top: 20px;
}

.rehorn-pstep-num {
  color: var(--rehorn-orange);
  font-family: var(--rehorn-font-display);
  font-size: 50px;
  line-height: 0.9;
}

.rehorn-pstep-title {
  color: var(--rehorn-gray);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
}

.rehorn-pstep-desc {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
}

/* ---- Results band (white; green inner card with header + before/after) ---- */

.rehorn-presults-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--rehorn-green);
  padding: 72px 96px;
}

.rehorn-presults-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
}

.rehorn-presults-card > * {
  position: relative;
  z-index: 1;
}

.rehorn-presults-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 0 0 64px;
}

.rehorn-presults-headl,
.rehorn-presults-headr {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
}

.rehorn-presults-eyebrow {
  display: block;
  font-size: 21px;
  margin: 0 0 4px;
}

.rehorn-presults-heading {
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1.02;
  margin: 0;
}

.rehorn-presults-body {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.rehorn-presults-body:last-child {
  margin-bottom: 0;
}

/* Before / After & gallery (rehorn/before-after) */

.rehorn-ba {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

.rehorn-ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rehorn-ba-tile {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.rehorn-ba-img {
  display: block;
  width: 100%;
  height: clamp(280px, 38vw, 540px);
  -o-object-fit: cover;
     object-fit: cover;
}

.rehorn-ba-wide .rehorn-ba-img {
  height: clamp(240px, 30vw, 460px);
}

.rehorn-ba-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.82)), to(rgba(0, 0, 0, 0)));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
  color: var(--rehorn-white);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
}

/* ---- Work performed band (white; service card + work columns) ---- */

.rehorn-project-work {
  position: relative;
}

.kb-row-layout-wrap.rehorn-project-work::after {
  /* torn edge tearing up into the white from the dark testimonial below */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 46px;
  z-index: 4;
  background: url(../img/edge-torn-dark.svg) center / 100% 100% no-repeat;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
  pointer-events: none;
}

.rehorn-work-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 32px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin: 0 0 64px;
}

.rehorn-work-heading {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1;
  margin: 0;
}

.rehorn-work-intro {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

.rehorn-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: start;
}

.rehorn-work-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.rehorn-work-card-img {
  display: block;
  position: relative;
  height: 252px;
  overflow: hidden;
}

.rehorn-work-card-photo {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.rehorn-work-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(
    linear,
    left bottom, left top,
    from(rgba(0, 0, 0, 0.8)),
    color-stop(50%, rgba(0, 0, 0, 0.35)),
    to(rgba(0, 0, 0, 0))
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0)
  );
}

.rehorn-work-card-body {
  background: var(--rehorn-cream);
  padding: 24px 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.rehorn-work-card-title {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1;
}

.rehorn-work-card-text {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
}

.rehorn-work-card-link {
  margin-top: auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  min-height: 52px;
  color: var(--rehorn-orange);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.rehorn-work-card-link img {
  width: 22px;
  height: 22px;
}

.rehorn-work-card:hover .rehorn-work-card-title {
  color: var(--rehorn-black);
}

.rehorn-work-cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 48px;
}

.rehorn-work-col {
  border-top: 3px solid var(--rehorn-orange);
  padding-top: 32px;
}

.rehorn-work-col-title {
  color: var(--rehorn-black);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  margin: 0 0 24px;
}

.rehorn-work-col-desc {
  color: var(--rehorn-black);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
}

/* ---- Testimonial band — reuses .rehorn-ftst / .rehorn-tstm (only the edge differs) ---- */

.rehorn-project-testimonial {
  position: relative;
  overflow: hidden;
  background-color: var(--rehorn-black);
}

.rehorn-project-testimonial::before,
.kb-row-layout-wrap.rehorn-project-testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/bg-pattern-topo.png) top left / 1573px 750px repeat;
  opacity: 0.3;
  pointer-events: none;
}

.rehorn-project-testimonial > *,
.kb-row-layout-wrap.rehorn-project-testimonial > * {
  position: relative;
  z-index: 1;
}

.kb-row-layout-wrap.rehorn-project-testimonial::after {
  /* torn edge tearing up into the dark from the white related section below */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 46px;
  z-index: 4;
  background: url(../img/edge-torn-white.svg) center / 100% 100% no-repeat;
  -webkit-transform: scaleY(-1);
          transform: scaleY(-1);
  pointer-events: none;
}

/* ---- Other / Related projects band (white; heading + button + 3 cards) ----
   The rehorn/related-projects block renders its own full-bleed band (it is placed
   straight in single-rehorn_project.php, not inside a Kadence row). */

.rehorn-prelated {
  position: relative;
  background: var(--rehorn-white);
  padding: 120px 0 56px;
}

.rehorn-related-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  gap: 32px;
  margin: 0 0 42px;
}

.rehorn-related-heading {
  color: var(--rehorn-green);
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 1;
  margin: 0;
}

.rehorn-related-btn {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  background: var(--rehorn-cream);
  color: var(--rehorn-black);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--rehorn-font-display);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.rehorn-related-btn:hover {
  background: #d4cdb2;
  color: var(--rehorn-black);
}

.rehorn-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rehorn-related-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.rehorn-related-card-img {
  aspect-ratio: 464/369;
  position: relative;
  display: block;
  background-size: cover;
  background-position: center;
  background-color: var(--rehorn-green);
}

.rehorn-related-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(
    linear,
    left bottom, left top,
    from(rgba(0, 0, 0, 0.8)),
    color-stop(45%, rgba(0, 0, 0, 0.35)),
    color-stop(70%, rgba(0, 0, 0, 0))
  );
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0) 70%
  );
}

.rehorn-related-card-panel {
  background: var(--rehorn-green);
  padding: 24px 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.rehorn-related-card-titleblock {
  display: block;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  border-bottom: 1px solid rgba(225, 219, 196, 0.5);
}

.rehorn-related-card .rehorn-proj-title {
  display: block;
  margin: 0;
}

.rehorn-related-card:hover .rehorn-proj-link {
  gap: 12px;
}

/* ---- Project detail responsive ---- */

@media (max-width: 1024px) {
  .rehorn-presults-card {
    padding: 56px 40px;
  }
  .rehorn-pproblem-card {
    padding: 48px;
  }
  .rehorn-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rehorn-related-card {
    min-height: 520px;
  }
}

@media (max-width: 900px) {
  .rehorn-phero-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 32px;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
  }
  .rehorn-phero-img {
    height: clamp(240px, 56vw, 420px);
  }
  .rehorn-phero-text {
    padding: 0;
  }
  .kb-row-layout-wrap.rehorn-project-problem > .kt-row-column-wrap {
    gap: 40px;
  }
  .rehorn-presults-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
  .rehorn-work-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
  .rehorn-work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rehorn-prelated {
    padding: 80px 0 48px;
  }
}

@media (max-width: 767px) {
  .rehorn-phero-specs {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 20px 24px;
  }
  .rehorn-phero-spec {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 40%;
            flex: 1 1 40%;
  }
  .rehorn-pstep {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
  }
  .rehorn-pstep-num {
    grid-row: span 2;
  }
  .rehorn-pstep-title {
    font-size: 24px;
  }
  .rehorn-ba-pair {
    grid-template-columns: 1fr;
  }
  .rehorn-related-grid {
    grid-template-columns: 1fr;
  }
  .rehorn-related-card {
    min-height: 420px;
  }
  .rehorn-related-head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 20px;
  }
  .rehorn-ba-caption {
    font-size: 22px;
    padding: 18px;
  }
}

/* =====================================================================
   Site content container — the design's 1440px content width.
   Figma frames are 1728px wide with 1440px content (144px gutters). Section
   BACKGROUNDS and torn edges stay full-bleed (they live on the row wrapper /
   <section>); only the CONTENT is capped at 1440px and centered, with a fluid
   gutter that equals the Figma 144px at the 1728px design width and HOLDS the
   content at 1440px on wider monitors (the previous clamp gutter let content
   grow past 1440 on big screens). ONE concept, used everywhere:
     • Kadence rows:  .rehorn-contained  (auto-added to full-bleed rows by
       rehorn-build.php's rh_row(); genuine full-bleed photo bands opt out via
       $o['fullbleed']).
     • Native PHP templates:  .rehorn-container  on the section's inner wrapper.
   Placed last in the file so it supersedes the older per-section clamp gutters
   at equal specificity.
   ===================================================================== */

:root {
  --rehorn-content-width: 1440px;
}

/* FRONT END: the band background sits on the outer .kb-row-layout-wrap, so the inner
   content child is capped at 1440 and auto-centred (background stays full-bleed). */

.kb-row-layout-wrap.rehorn-contained > .kt-row-column-wrap,
.rehorn-container {
  width: min(var(--rehorn-content-width), 100% - clamp(40px, 8vw, 160px));
  margin-inline: auto;
}

.kb-row-layout-wrap.rehorn-contained > .kt-row-column-wrap {
  padding-left: 0;
  padding-right: 0;
}

/* EDITOR CANVAS: the class, the content wrap AND the band background are the SAME
   element, so capping its width would shrink full-bleed photo bands too. Instead inset
   the CONTENT with the same side gutter (each side = half the front-end 40–160px total)
   and let the background stay full width — matching the front end at canvas widths. */

.rehorn-contained.kt-row-column-wrap {
  padding-left: clamp(20px, 4vw, 80px);
  padding-right: clamp(20px, 4vw, 80px);
}

/* zero the legacy per-column inset in both contexts (gutter now lives on the wrap) */

.kb-row-layout-wrap.rehorn-contained
  > .kt-row-column-wrap
  > .wp-block-kadence-column
  > .kt-inside-inner-col,
.rehorn-contained.kt-row-column-wrap
  > .wp-block-kadence-column
  > .kt-inside-inner-col {
  padding-right: 0;
}

/* Stats row keeps its own horizontal inset even though it also uses the
   shared .rehorn-contained utility. Without this override, the generic
   contained-row reset wins and the values sit too close to the dividers. */

.kb-row-layout-wrap.rehorn-stats.rehorn-contained
  > .kt-row-column-wrap
  > .wp-block-kadence-column
  > .kt-inside-inner-col,
.rehorn-stats.rehorn-contained.kt-row-column-wrap
  > .wp-block-kadence-column
  > .kt-inside-inner-col {
  padding-left: clamp(24px, 3vw, 32px) !important;
  padding-right: clamp(24px, 3vw, 32px) !important;
}

.kb-row-layout-wrap.rehorn-stats.rehorn-contained
  > .kt-row-column-wrap
  > .wp-block-kadence-column:last-child
  > .kt-inside-inner-col,
.rehorn-stats.rehorn-contained.kt-row-column-wrap
  > .wp-block-kadence-column:last-child
  > .kt-inside-inner-col {
  padding-right: clamp(24px, 3vw, 32px) !important;
}

/* Keep the stat text on one line. Kadence's advanced heading wrapper can
   otherwise inherit wrapping behavior that splits the number/label into
   character-by-character lines on the live page. */

.rehorn-stats .rehorn-stat-cell {
  min-width: 0;
}

.rehorn-stats .rehorn-stat-cell .kt-inside-inner-col {
  min-width: 0;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}

/*
.rehorn-stats .rehorn-stat-value,
.rehorn-stats .rehorn-stat-label {
* /
  display: block;
  color: rgba(255,255,255,.7);
  font-family: var(--rehorn-font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
/*
  display: block;
  max-width: none;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}
.rehorn-stats .rehorn-stat-value {
  width: max-content;
  line-height: 1;
}
.rehorn-stats .rehorn-stat-label {
*/

/* ---------------------------------------------------------------------
   Selector aliases for the new section naming scheme.
   The legacy selectors remain in place for backward compatibility while the
   editor/content is migrated to the more specific wrapper names.
   --------------------------------------------------------------------- */

/* Home */

.rehorn-home-hero {
  position: relative;
  min-height: clamp(640px, 72vh, 720px);
}

.rehorn-home-services {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0px;
}

.rehorn-home-featured-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.rehorn-home-testimonials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
}

/* Listing / detail pages */

.rehorn-project-gallery {
  margin-top: 36px;
}

.rehorn-service-hero,
.rehorn-project-hero,
.rehorn-service-listing,
.rehorn-service-why,
.rehorn-service-faq,
.rehorn-service-about,
.rehorn-project-testimonial,
.rehorn-contact-hero,
.rehorn-contact-main,
.rehorn-contact-areas,
.rehorn-about-hero,
.rehorn-about-intro,
.rehorn-about-facility,
.rehorn-about-credentials {
  position: relative;
}

@media (max-width: 767px) {
  .rehorn-home-featured-projects {
    display: block !important;
    grid-template-columns: none !important;
  }

  .rehorn-home-featured-projects > .rehorn-proj-big,
  .rehorn-home-featured-projects > .rehorn-proj-col {
    display: block;
    width: 100%;
  }

  .rehorn-home-featured-projects > .rehorn-proj-col {
    margin-top: 20px;
  }
}

.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger::after,
.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger::before,
.kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger::after,
.kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger::before {
  width: 14px;
}
