/*
Theme Name: Hi-Rez
Theme URI: https://hirez.design/
Description: Custom Astra child theme for Hi-Rez Collective.
Author: Hi-Rez Collective
Author URI: https://hirez.design/
Template: astra
Version: 1.0.0
Text Domain: hirez
*//* =========================================================
   HI-REZ GLOBAL CSS — CLEANED + RESPONSIVE
   Replace the existing site CSS with this file.
   ========================================================= */

:root {
  --hirez-black: #07090f;
  --hirez-panel: #10131d;
  --hirez-border: #2a3244;
  --hirez-text: #f7f8fb;
  --hirez-muted: #a8b0c1;
  --hirez-lime: #d2ff27;
  --hirez-content: 860px;
  --hirez-wide: 1180px;
  --hirez-gutter: clamp(16px, 3vw, 48px);
}

/* ---------- Base safety ---------- */

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
iframe,
svg,
canvas {
  max-width: 100%;
}

img,
video {
  height: auto;
}

/* Do not globally force SVG/canvas height:auto.
   Interactive plugins often calculate their own dimensions. */

/* ---------- Header ---------- */

header,
.site-header,
.elementor-location-header,
.elementor-sticky--active {
  position: relative;
  z-index: 99999 !important;
  background: var(--hirez-black) !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* ---------- Custom Hi-Rez page wrappers ---------- */

.hrz-page,
.hrz-service-page,
.hrz-services-page,
.hrz-seo-page,
.hrz-local-page,
.hrz-content-page,
.hrz-analytics-page,
.hrz-industries-page,
.hrz-web-page,
.hrz-geo-page,
.hrz-tech-page,
.hrz-tech,
.hrz-post,
.hrz-quote,
.hrz-pos {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  background: var(--hirez-black) !important;
}

.hrz-page,
.hrz-service-page,
.hrz-services-page,
.hrz-seo-page,
.hrz-local-page,
.hrz-content-page,
.hrz-analytics-page,
.hrz-industries-page,
.hrz-web-page,
.hrz-geo-page,
.hrz-tech-page,
.hrz-tech,
.hrz-post {
  padding-top: 30px;
}

.hrz-page > .hrz-hero,
.hrz-service-page > .hrz-hero,
.hrz-services-page > .hrz-hero,
.hrz-seo-page > .hrz-hero,
.hrz-local-page > .hrz-hero,
.hrz-content-page > .hrz-hero,
.hrz-analytics-page > .hrz-hero,
.hrz-industries-page > .hrz-hero,
.hrz-web-page > .hrz-hero,
.hrz-geo-page > .hrz-hero,
.hrz-tech-page > .hrz-hero,
.hrz-tech > .hrz-hero,
.hrz-post > .hrz-hero {
  margin-top: 0;
}

/* Scope the black section background to custom Hi-Rez wrappers only. */
.hrz-page section,
.hrz-service-page section,
.hrz-services-page section,
.hrz-seo-page section,
.hrz-local-page section,
.hrz-content-page section,
.hrz-analytics-page section,
.hrz-industries-page section,
.hrz-web-page section,
.hrz-geo-page section,
.hrz-tech-page section,
.hrz-tech section,
.hrz-post section,
.hrz-quote section,
.hrz-pos section {
  background-color: var(--hirez-black) !important;
}

.hrz-card,
.hrz-option,
.hrz-scope,
.hrz-summary-card,
.hrz-not-item,
.hrz-toc,
.hrz-faq {
  background: var(--hirez-panel) !important;
}

/* ---------- Elementor background normalization ---------- */

body.elementor-page,
body.elementor-page #page,
body.elementor-page .site,
body.elementor-page .site-content,
body.elementor-page .content-area,
body.elementor-page main,
body.elementor-page .elementor,
body.elementor-page .elementor-section-wrap,
body.elementor-page .elementor-widget-html,
body.elementor-page .elementor-widget-html > .elementor-widget-container {
  background-color: var(--hirez-black) !important;
}

/* Do not force all Elementor sections transparent.
   That destroys intentional section/card backgrounds. */
.elementor-section,
.e-con,
.e-con-inner,
.elementor-container,
.elementor-row,
.elementor-column,
.elementor-widget-wrap,
.elementor-widget-container {
  min-width: 0;
  max-width: 100%;
}

/* ---------- Global content rhythm ---------- */

.entry-content {
  line-height: 1.7;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-block: 1.45em 0.55em;
}

.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child,
.entry-content > h4:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content figure,
.entry-content table {
  margin-top: 0;
  margin-bottom: 1.3em;
}

.entry-content h1 + p,
.entry-content h2 + p,
.entry-content h3 + p,
.entry-content h4 + p,
.entry-content h5 + p,
.entry-content h6 + p {
  margin-top: 0;
}

.entry-content li + li {
  margin-top: 0.4em;
}

/* ---------- Glossary ---------- */

.single-seo_glossary .entry-title,
.single-glossary_term .entry-title,
.hirez-glossary-content h1,
.hirez-glossary-content .glossary-term-name,
.hirez-glossary-content > p:first-of-type strong {
  color: var(--hirez-lime) !important;
  font-weight: 800 !important;
}

/* ---------- Quote form ---------- */

.hrz-quote-layout-elementor {
  width: min(var(--hirez-wide), calc(100% - 40px)) !important;
  max-width: var(--hirez-wide) !important;
  margin-inline: auto !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 46px !important;
  align-items: flex-start !important;
  padding: 96px 0 !important;
}

.hrz-quote-sidebar-elementor {
  flex: 0 0 calc(39% - 23px) !important;
  max-width: calc(39% - 23px) !important;
  min-width: 0;
}

.hrz-form-card-elementor {
  flex: 0 0 calc(61% - 23px) !important;
  max-width: calc(61% - 23px) !important;
  min-width: 0;
  padding: 34px !important;
  border: 1px solid var(--hirez-border) !important;
  border-radius: 14px !important;
  background: linear-gradient(145deg, #151b2b, #111624) !important;
  overflow: hidden;
}

.hrz-form-card-elementor .hrz-form-head {
  margin-bottom: 26px;
  padding-bottom: 25px;
  border-bottom: 1px solid #2b3448;
}

.hrz-form-card-elementor .hrz-form-head h2 {
  margin: 0;
  color: var(--hirez-text);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hrz-form-card-elementor .hrz-form-head p {
  margin: 10px 0 0;
  color: var(--hirez-muted);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.65;
}

.hrz-form-card-elementor .hrz-fluent-form,
.hrz-form-card-elementor .elementor-widget-shortcode,
.hrz-form-card-elementor .elementor-shortcode,
.hrz-form-card-elementor .fluentform,
.hrz-form-card-elementor .fluentform_wrapper_3 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* =========================================================
   SINGLE BLOG POSTS
   ========================================================= */

.single-post .site,
.single-post .site-content,
.single-post .content-area,
.single-post .site-main,
.single-post article,
.single-post .entry-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.single-post .site-main {
  padding-inline: var(--hirez-gutter);
}

/* Let the article own the outer width. */
.single-post article {
  width: min(100%, var(--hirez-wide));
  margin-inline: auto;
}

/* Apply readable width only to normal direct content.
   Do not force margins/widths on plugin roots, Elementor containers,
   full-width sections, tables, galleries, SVG apps, or shortcode UIs. */
.single-post .entry-content > :where(
  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  ul,
  ol,
  blockquote,
  pre,
  figure:not(.alignwide):not(.alignfull),
  .wp-block-group:not(.alignwide):not(.alignfull),
  .wp-block-columns:not(.alignwide):not(.alignfull)
) {
  width: min(100%, var(--hirez-content));
  margin-left: auto;
  margin-right: auto;
}

.single-post .entry-content > :where(
  .alignwide,
  .wp-block-image,
  .wp-block-table,
  .wp-block-gallery,
  .elementor,
  .elementor-section,
  .e-con,
  .disc-golf-locator,
  .disc-bag-manager,
  [class*="disc-golf"],
  [class*="disc-bag"]
) {
  width: min(100%, 1080px);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.single-post .entry-content > .alignfull {
  width: 100%;
  max-width: 100%;
}

/* ---------- Post header ---------- */

.single-post .entry-header {
  width: min(100%, 1080px);
  margin-inline: auto;
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(24px, 4vw, 48px);
}

.single-post .entry-header .breadcrumb,
.single-post .entry-header .breadcrumbs,
.single-post .entry-header .back-link {
  margin: 0 0 24px;
}

.single-post .entry-header .post-category,
.single-post .entry-header .entry-category,
.single-post .entry-header .cat-links {
  margin: 0 0 14px;
}

.single-post .entry-title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: normal;
}

.single-post .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 20px 0 0;
}

.single-post .post-thumbnail,
.single-post .featured-image {
  margin-top: 0;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.single-post .wp-post-image {
  display: block;
  width: 100%;
  height: auto;
}

.single-post .entry-header .post-thumbnail,
.single-post .entry-header .featured-image {
  margin-top: clamp(28px, 4vw, 48px);
  margin-bottom: 0;
}

/* ---------- Post body rhythm ---------- */

.single-post .entry-content {
  padding: 0 0 clamp(56px, 8vw, 104px);
  overflow: visible;
}

.single-post .entry-content p,
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin-top: 0;
  margin-bottom: 1.35em;
}

.single-post .entry-content h2 {
  margin-top: clamp(44px, 6vw, 72px);
  margin-bottom: 18px;
}

.single-post .entry-content h3 {
  margin-top: clamp(30px, 4vw, 48px);
  margin-bottom: 14px;
}

.single-post .entry-content h4 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.single-post .entry-content > h2:first-child,
.single-post .entry-content > h3:first-child,
.single-post .entry-content > section:first-child > :first-child {
  margin-top: 0;
}

/* A section should use margin for separation, not large top + bottom padding.
   This prevents doubled gaps around adjacent sections. */
.single-post .entry-content section,
.single-post .entry-content .post-section {
  width: 100%;
  margin-block: clamp(36px, 5vw, 64px);
  padding-block: 0;
}

.single-post .entry-content section > :first-child {
  margin-top: 0;
}

.single-post .entry-content section > :last-child {
  margin-bottom: 0;
}

/* ---------- Cards ---------- */

.single-post .entry-content .on-this-page,
.single-post .entry-content .key-takeaways,
.single-post .entry-content .toc,
.single-post .entry-content .article-card,
.single-post .entry-content .content-card {
  width: min(100%, var(--hirez-content));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding: clamp(22px, 4vw, 38px);
}

/* ---------- Lists and text wrapping ---------- */

.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content a,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content td,
.single-post .entry-content th {
  overflow-wrap: break-word;
  word-break: normal;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
  max-width: 100%;
  padding-left: 1.35rem;
  padding-right: 0;
}

.single-post .entry-content li {
  padding-left: 0.2rem;
}

/* ---------- Tables ---------- */

.single-post .entry-content .wp-block-table,
.single-post .entry-content .table-wrapper {
  width: min(100%, 1080px);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}

.single-post .entry-content table {
  width: 100%;
  max-width: none;
  border-collapse: collapse;
}

/* Only create a horizontal table scroll when the table actually needs it. */
@media (max-width: 767px) {
  .single-post .entry-content .wp-block-table table,
  .single-post .entry-content .table-wrapper table {
    min-width: 640px;
  }
}

/* ---------- Dynamic/plugin content ---------- */

/* Do not clip charts, SVG animation paths, dropdowns, tooltips, modals,
   or absolutely positioned plugin UI. */
.single-post .entry-content :where(
  .disc-golf-locator,
  .disc-bag-manager,
  [class*="disc-golf"],
  [class*="disc-bag"],
  .chart-container,
  .flight-chart,
  .flight-chart-wrap,
  .course-results,
  .course-grid
) {
  min-width: 0;
  max-width: 100%;
  overflow: visible;
}

/* Preserve calculated SVG/canvas dimensions while keeping them responsive. */
.single-post .entry-content :where(
  .disc-golf-locator,
  .disc-bag-manager,
  [class*="disc-golf"],
  [class*="disc-bag"]
) svg,
.single-post .entry-content :where(
  .disc-golf-locator,
  .disc-bag-manager,
  [class*="disc-golf"],
  [class*="disc-bag"]
) canvas {
  display: block;
  width: 100%;
  max-width: 100%;
}

/* Forms inside custom plugins */
.single-post .entry-content :where(
  .disc-golf-locator,
  .disc-bag-manager,
  [class*="disc-golf"],
  [class*="disc-bag"]
) :where(input, select, textarea, button) {
  max-width: 100%;
}

/* ---------- CTA and related content ---------- */

.single-post .related-resources,
.single-post .post-cta,
.single-post .article-cta,
.single-post .final-cta {
  margin-top: clamp(48px, 7vw, 88px);
  margin-bottom: 0;
  min-height: 0;
}

/* Safe empty-section cleanup */
.single-post .entry-content section:empty {
  display: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .single-post article {
    width: 100%;
  }

  .single-post .entry-header {
    width: 100%;
    max-width: 860px;
  }

  .single-post .entry-title {
    max-width: 760px;
  }

  .hrz-quote-layout-elementor {
    flex-direction: column !important;
  }

  .hrz-quote-sidebar-elementor,
  .hrz-form-card-elementor {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .single-post .site-main {
    padding-inline: 16px;
  }

  .single-post .entry-header {
    width: 100%;
    max-width: 100%;
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .single-post .entry-header .breadcrumb,
  .single-post .entry-header .breadcrumbs,
  .single-post .entry-header .back-link {
    margin-bottom: 20px;
  }

  .single-post .entry-title {
    font-size: clamp(2.25rem, 11vw, 3.75rem);
    line-height: 1;
  }

  .single-post .entry-meta {
    margin-top: 16px;
  }

  .single-post .entry-content h2 {
    margin-top: 42px;
  }

  .single-post .entry-content h3 {
    margin-top: 30px;
  }

  .single-post .entry-content section,
  .single-post .entry-content .post-section {
    margin-block: 34px;
  }

  .single-post .related-resources,
  .single-post .post-cta,
  .single-post .article-cta,
  .single-post .final-cta {
    margin-top: 48px;
  }

  .single-post .entry-content .on-this-page,
  .single-post .entry-content .key-takeaways,
  .single-post .entry-content .toc,
  .single-post .entry-content .article-card,
  .single-post .entry-content .content-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .single-post .entry-content p,
  .single-post .entry-content li {
    font-size: 16px;
    line-height: 1.65;
  }

  .single-post .entry-content ul,
  .single-post .entry-content ol {
    padding-left: 1.25rem;
  }
}

@media (max-width: 620px) {
  .hrz-quote-layout-elementor {
    width: calc(100% - 28px) !important;
    padding: 62px 0 !important;
  }

  .hrz-form-card-elementor {
    padding: 22px !important;
  }
}

/* ---------- Astra mobile footer cleanup ---------- */
/* Astra mobile footer cleanup */
@media (max-width: 767px) {
    .site-footer {
        min-height: auto !important;
        height: auto !important;
    }

    .site-primary-footer-wrap {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }

    .site-below-footer-wrap {
        min-height: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .site-below-footer-wrap[data-section="section-below-footer-builder"] {
        min-height: 0 !important;
    }

    .site-footer .ast-builder-grid-row {
        min-height: 0 !important;
    }
}

/* =========================================================
   ASTRA FOOTER HARD RESET
   ========================================================= */
.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer .ast-builder-grid-row,
.site-footer .site-primary-footer-inner-wrap,
.site-footer .site-below-footer-inner-wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.site-footer .site-footer-section,
.site-footer .footer-widget-area,
.site-footer .widget,
.site-footer .widget_text,
.site-footer .ast-builder-html-element {
  min-width: 0;
  max-width: 100%;
  width: auto;
}

.site-footer img,
.site-footer svg {
  max-width: 100%;
  height: auto;
}

.site-footer iframe,
.site-footer canvas {
  max-width: 100%;
}

.site-footer p,
.site-footer li,
.site-footer a,
.site-footer span {
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}

.site-footer .widget-title,
.site-footer h2,
.site-footer h3 {
  writing-mode: horizontal-tb !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (min-width: 768px) {
  .site-primary-footer-wrap .ast-builder-grid-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .site-primary-footer-wrap .ast-builder-grid-row {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
}/* Custom HTML page header clearance */

}/* =========================================================
   HI-REZ SAFE HEADER + SERVICES PAGE FIX
   Paste at the VERY BOTTOM of /wp-content/themes/hirez/style.css
   This file does not target the footer or Astra footer widgets.
   ========================================================= */

/* ---------- Header clearance for custom HTML pages ---------- */

/* Astra transparent headers sit over the page instead of taking up space. */
body.ast-theme-transparent-header:not(.elementor-editor-active) :is(
  .hrz-page,
  .hrz-service-page,
  .hrz-services-page,
  .hrz-seo-page,
  .hrz-local-page,
  .hrz-content-page,
  .hrz-analytics-page,
  .hrz-industries-page,
  .hrz-web-page,
  .hrz-geo-page,
  .hrz-tech-page,
  .hrz-tech,
  .hrz-post,
  .hrz-quote,
  .hrz-pos
) {
  padding-top: 132px !important;
}

/* Normal, non-overlay header pages only need breathing room. */
body:not(.ast-theme-transparent-header):not(.elementor-editor-active) :is(
  .hrz-page,
  .hrz-service-page,
  .hrz-services-page,
  .hrz-seo-page,
  .hrz-local-page,
  .hrz-content-page,
  .hrz-analytics-page,
  .hrz-industries-page,
  .hrz-web-page,
  .hrz-geo-page,
  .hrz-tech-page,
  .hrz-tech,
  .hrz-post,
  .hrz-quote,
  .hrz-pos
) {
  padding-top: 30px !important;
}

/* Keep anchor links from landing underneath the sticky header. */
.hrz-services-page :is(
  #ai-visibility,
  #seo,
  #content,
  #local-seo,
  #web-design,
  #analytics
) {
  scroll-margin-top: 150px;
}

/* ---------- Services page base ---------- */

.hrz-services-page {
  --hrz-s-bg: #07090f;
  --hrz-s-panel: #151b2b;
  --hrz-s-panel-2: #111624;
  --hrz-s-dark: #090c13;
  --hrz-s-blue: #11182a;
  --hrz-s-line: #2a3244;
  --hrz-s-text: #f7f8fb;
  --hrz-s-muted: #a8b0c1;
  --hrz-s-lime: #d2ff27;
  --hrz-s-max: 1180px;

  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  background: var(--hrz-s-bg) !important;
  color: var(--hrz-s-text);
  font-family: "Inter", sans-serif;
}

.hrz-services-page,
.hrz-services-page * {
  box-sizing: border-box;
}

.hrz-services-page .hrz-wrap {
  width: min(var(--hrz-s-max), calc(100% - 40px));
  max-width: var(--hrz-s-max);
  margin-inline: auto;
}

.hrz-services-page .hrz-section {
  padding: 100px 0;
  background: var(--hrz-s-bg) !important;
}

.hrz-services-page .hrz-section--dark {
  background: var(--hrz-s-dark) !important;
}

.hrz-services-page .hrz-section--blue {
  background: var(--hrz-s-blue) !important;
}

.hrz-services-page h1,
.hrz-services-page h2,
.hrz-services-page h3,
.hrz-services-page h4 {
  color: var(--hrz-s-text);
  font-family: "Space Grotesk", sans-serif;
}

.hrz-services-page p {
  color: var(--hrz-s-muted);
  line-height: 1.7;
}

.hrz-services-page a {
  text-decoration: none;
}

/* ---------- Hero ---------- */

.hrz-services-page .hrz-hero {
  position: relative;
  padding: 108px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 16%, rgba(210,255,39,.15), transparent 34%),
    radial-gradient(circle at 16% 84%, rgba(120,90,255,.14), transparent 32%),
    linear-gradient(145deg, #11182a, #080b12 72%) !important;
}

.hrz-services-page .hrz-hero-inner {
  position: relative;
  z-index: 2;
}

.hrz-services-page .hrz-kicker {
  margin-bottom: 14px;
  color: var(--hrz-s-lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hrz-services-page .hrz-display {
  max-width: 1040px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .95;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hrz-services-page .hrz-section-title {
  max-width: 920px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.hrz-services-page .hrz-lead {
  max-width: 820px;
  margin-top: 24px;
  font-size: clamp(17px, 2vw, 21px);
}

.hrz-services-page .hrz-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hrz-services-page .hrz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 25px;
  border: 1px solid var(--hrz-s-lime);
  border-radius: 8px;
  background: var(--hrz-s-lime);
  color: #090b10;
  font-size: 14px;
  font-weight: 800;
}

.hrz-services-page .hrz-btn-outline {
  border-color: #3b465d;
  background: transparent;
  color: #fff;
}

/* ---------- Hero proof ---------- */

.hrz-services-page .hrz-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin-top: 48px;
}

.hrz-services-page .hrz-proof-item {
  min-width: 0;
  padding: 19px 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(7,9,15,.70);
}

.hrz-services-page .hrz-proof-item strong {
  display: block;
  color: var(--hrz-s-lime);
  font: 700 20px/1.1 "Space Grotesk", sans-serif;
}

.hrz-services-page .hrz-proof-item span {
  display: block;
  margin-top: 7px;
  color: #a8b0c1;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- Jump navigation ---------- */

.hrz-services-page .hrz-service-nav {
  position: relative;
  z-index: 4;
  margin-top: -30px;
}

.hrz-services-page .hrz-service-nav-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
}

.hrz-services-page .hrz-service-nav-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #b8c1d2;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.hrz-services-page .hrz-service-nav-grid a:hover {
  background: rgba(210,255,39,.09);
  color: var(--hrz-s-lime);
}

/* ---------- Cards and grids ---------- */

.hrz-services-page .hrz-card {
  border: 1px solid var(--hrz-s-line);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--hrz-s-panel), var(--hrz-s-panel-2)) !important;
}

.hrz-services-page .hrz-intro-grid,
.hrz-services-page .hrz-process-grid,
.hrz-services-page .hrz-results-grid,
.hrz-services-page .hrz-cta-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.hrz-services-page .hrz-intro-copy p + p {
  margin-top: 18px;
}

.hrz-services-page .hrz-principles,
.hrz-services-page .hrz-process-list {
  display: grid;
  gap: 16px;
}

.hrz-services-page .hrz-principle,
.hrz-services-page .hrz-process-step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 26px;
}

.hrz-services-page .hrz-principle-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(210,255,39,.12);
  color: var(--hrz-s-lime);
  font-weight: 800;
}

.hrz-services-page .hrz-principle h3,
.hrz-services-page .hrz-process-step h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.hrz-services-page .hrz-principle p,
.hrz-services-page .hrz-process-step p {
  margin: 0;
  font-size: 14px;
}

.hrz-services-page .hrz-services-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: end;
}

.hrz-services-page .hrz-services-heading .hrz-lead {
  margin-top: 0;
}

.hrz-services-page .hrz-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}

.hrz-services-page .hrz-service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.hrz-services-page .hrz-service-card-top {
  min-height: 220px;
  padding: 32px;
  background:
    radial-gradient(circle at 82% 14%, rgba(210,255,39,.15), transparent 34%),
    linear-gradient(145deg,#151d30,#0e1320) !important;
}

.hrz-services-page .hrz-service-number {
  margin-bottom: 24px;
  color: rgba(210,255,39,.48);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hrz-services-page .hrz-service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 11px;
  background: rgba(210,255,39,.12);
  color: var(--hrz-s-lime);
  font-size: 14px;
  font-weight: 800;
}

.hrz-services-page .hrz-service-card-top h3 {
  margin: 0;
  font-size: clamp(27px, 3vw, 35px);
  line-height: 1.08;
}

.hrz-services-page .hrz-service-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px;
}

.hrz-services-page .hrz-service-body > p {
  margin: 0;
  font-size: 15px;
}

.hrz-services-page .hrz-service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.hrz-services-page .hrz-service-columns h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.hrz-services-page .hrz-service-list {
  margin: 0;
  padding-left: 18px;
  color: #aab3c5;
  font-size: 13px;
  line-height: 1.7;
}

.hrz-services-page .hrz-service-list li + li {
  margin-top: 6px;
}

.hrz-services-page .hrz-service-meta,
.hrz-services-page .hrz-industry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hrz-services-page .hrz-chip,
.hrz-services-page .hrz-industry-pill {
  padding: 7px 10px;
  border: 1px solid #30384b;
  border-radius: 999px;
  background: #111724;
  color: #939db1;
  font-size: 11px;
}

.hrz-services-page .hrz-service-link {
  margin-top: auto;
  padding-top: 26px;
  color: var(--hrz-s-lime);
  font-size: 13px;
  font-weight: 800;
}

.hrz-services-page .hrz-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.hrz-services-page .hrz-engagement-grid,
.hrz-services-page .hrz-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.hrz-services-page .hrz-capability,
.hrz-services-page .hrz-engagement,
.hrz-services-page .hrz-audience-card,
.hrz-services-page .hrz-stat-card {
  padding: 28px;
}

.hrz-services-page .hrz-capability h3,
.hrz-services-page .hrz-engagement h3,
.hrz-services-page .hrz-audience-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.15;
}

.hrz-services-page .hrz-capability p,
.hrz-services-page .hrz-engagement p,
.hrz-services-page .hrz-audience-card p {
  margin: 0;
  font-size: 14px;
}

.hrz-services-page .hrz-process-grid {
  grid-template-columns: .8fr 1.2fr;
}

.hrz-services-page .hrz-process-step {
  grid-template-columns: 74px 1fr;
}

.hrz-services-page .hrz-process-num {
  color: rgba(210,255,39,.43);
  font: 600 34px/1 "Space Grotesk", sans-serif;
}

.hrz-services-page .hrz-results-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hrz-services-page .hrz-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hrz-services-page .hrz-stat-card strong {
  display: block;
  color: var(--hrz-s-lime);
  font: 700 26px/1.05 "Space Grotesk", sans-serif;
}

.hrz-services-page .hrz-stat-card span {
  display: block;
  margin-top: 9px;
  color: #919caf;
  font-size: 12px;
  line-height: 1.5;
}

/* ---------- FAQ ---------- */

.hrz-services-page .hrz-faq-list {
  margin-top: 36px;
  padding: 14px 28px;
}

.hrz-services-page .hrz-faq-item {
  border-bottom: 1px solid #2b3344;
}

.hrz-services-page .hrz-faq-item:last-child {
  border-bottom: 0;
}

.hrz-services-page .hrz-faq-item summary {
  position: relative;
  padding: 23px 34px 23px 0;
  color: #fff;
  cursor: pointer;
  list-style: none;
  font: 600 16px/1.35 "Space Grotesk", sans-serif;
}

.hrz-services-page .hrz-faq-item summary::-webkit-details-marker {
  display: none;
}

.hrz-services-page .hrz-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 21px;
  right: 0;
  color: var(--hrz-s-lime);
  font-size: 20px;
}

.hrz-services-page .hrz-faq-item[open] summary::after {
  content: "–";
}

.hrz-services-page .hrz-faq-answer {
  padding: 0 42px 23px 0;
  color: #a7b0c1;
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- CTA ---------- */

.hrz-services-page .hrz-cta {
  padding: 88px 0;
  background:
    radial-gradient(circle at 85% 30%, rgba(210,255,39,.13), transparent 28%),
    linear-gradient(145deg,#151d30,#090c14) !important;
}

.hrz-services-page .hrz-cta-grid {
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  body.ast-theme-transparent-header:not(.elementor-editor-active) :is(
    .hrz-page,
    .hrz-service-page,
    .hrz-services-page,
    .hrz-seo-page,
    .hrz-local-page,
    .hrz-content-page,
    .hrz-analytics-page,
    .hrz-industries-page,
    .hrz-web-page,
    .hrz-geo-page,
    .hrz-tech-page,
    .hrz-tech,
    .hrz-post,
    .hrz-quote,
    .hrz-pos
  ) {
    padding-top: 112px !important;
  }

  .hrz-services-page .hrz-service-nav-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hrz-services-page .hrz-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hrz-services-page .hrz-intro-grid,
  .hrz-services-page .hrz-process-grid,
  .hrz-services-page .hrz-results-grid,
  .hrz-services-page .hrz-cta-grid,
  .hrz-services-page .hrz-services-heading {
    grid-template-columns: 1fr;
  }

  .hrz-services-page .hrz-services-heading .hrz-lead {
    margin-top: 18px;
  }

  .hrz-services-page .hrz-engagement-grid,
  .hrz-services-page .hrz-audience-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  body.ast-theme-transparent-header:not(.elementor-editor-active) :is(
    .hrz-page,
    .hrz-service-page,
    .hrz-services-page,
    .hrz-seo-page,
    .hrz-local-page,
    .hrz-content-page,
    .hrz-analytics-page,
    .hrz-industries-page,
    .hrz-web-page,
    .hrz-geo-page,
    .hrz-tech-page,
    .hrz-tech,
    .hrz-post,
    .hrz-quote,
    .hrz-pos
  ) {
    padding-top: 82px !important;
  }

  .hrz-services-page .hrz-wrap {
    width: min(100% - 28px, var(--hrz-s-max));
  }

  .hrz-services-page .hrz-section {
    padding: 70px 0;
  }

  .hrz-services-page .hrz-hero {
    padding: 74px 0 68px;
  }

  .hrz-services-page .hrz-display {
    font-size: clamp(42px, 13vw, 64px);
  }

  .hrz-services-page .hrz-hero-proof,
  .hrz-services-page .hrz-services-grid,
  .hrz-services-page .hrz-engagement-grid,
  .hrz-services-page .hrz-audience-grid,
  .hrz-services-page .hrz-stat-grid,
  .hrz-services-page .hrz-capability-grid,
  .hrz-services-page .hrz-service-columns {
    grid-template-columns: 1fr;
  }

  .hrz-services-page .hrz-service-nav {
    margin-top: 0;
  }

  .hrz-services-page .hrz-service-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hrz-services-page .hrz-btns {
    display: grid;
  }

  .hrz-services-page .hrz-btn {
    width: 100%;
  }