/* ==========================================================================
   Elementor bridge.
   Applies the theme design system (style.css tokens) to native Elementor
   widgets, so pages built in Elementor match the rest of the site.
   Selectors stay at three classes or fewer: any style set on an element in
   the Elementor panel is more specific and always wins.
   ========================================================================== */
:root {
  --eyebrow-indent: calc(var(--eyebrow-line) + var(--space-sm));
  --table-min: 40rem;
  --table-min-compact: 30rem;
  --ratio-portrait: 4 / 5;
}

/* ---------- Resets: Elementor title elements inherit from the widget ---------- */
.elementor .elementor-heading-title {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.elementor .elementor-heading-title a {
  color: inherit;
  text-decoration: none;
}

.elementor .elementor-widget-heading {
  font-family: var(--font-heading);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}

.elementor .elementor-widget-text-editor {
  color: var(--color-muted);
}

.elementor .elementor-widget-text-editor p + p {
  margin-top: var(--space-sm);
}

.elementor .elementor-widget-text-editor a {
  color: var(--color-navy-700);
}

/* ---------- Text styles (add these classes in Advanced > CSS Classes) ---------- */
.elementor .hrf-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-medium);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-navy-700);
}

.elementor .hrf-eyebrow .elementor-heading-title {
  padding-left: var(--eyebrow-indent);
  background-image: var(--gradient-energy);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: var(--eyebrow-line) var(--border-width-strong);
}

.elementor .hrf-display {
  font-size: var(--font-size-hero);
  font-weight: var(--weight-bold);
}

.elementor .hrf-title {
  max-width: var(--measure);
  font-size: var(--font-size-3xl);
  font-weight: var(--weight-bold);
}

.elementor .hrf-h2 {
  font-size: var(--font-size-3xl);
}

.elementor .hrf-h2-sm {
  font-size: var(--font-size-2xl);
}

.elementor .hrf-h3 {
  font-size: var(--font-size-lg);
}

.elementor .hrf-h4 {
  font-size: var(--font-size-md);
  line-height: var(--leading-snug);
}

.elementor .hrf-form-title {
  font-size: var(--font-size-xl);
}

.elementor .hrf-lead {
  max-width: var(--measure);
  font-size: var(--font-size-lead);
}

.elementor .hrf-text {
  font-size: var(--font-size-md);
}

.elementor .hrf-small {
  font-size: var(--font-size-sm);
}

.elementor .hrf-xs {
  font-size: var(--font-size-xs);
}

.elementor .hrf-label,
.elementor .hrf-label-ink,
.elementor .hrf-panel-title {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-medium);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-muted);
}

.elementor .hrf-label-ink {
  color: var(--color-ink);
}

.elementor .hrf-panel-title {
  letter-spacing: var(--tracking-wider);
  color: var(--color-accent);
}

.elementor .hrf-more {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
}

/* Badge (heading widget) */
.elementor .hrf-badge .elementor-heading-title {
  display: inline-flex;
  padding: var(--space-2xs) var(--space-sm);
  border: var(--border-width) solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-medium);
  line-height: var(--leading-body);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-muted);
}

.elementor .hrf-badge-demo .elementor-heading-title {
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent-on-light);
}

/* Numbered markers */
.elementor .hrf-num {
  flex: none;
}

.elementor .hrf-num .elementor-heading-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--step-size);
  height: var(--step-size);
  border-radius: var(--radius-sm);
  background: var(--color-navy-900);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent);
}

.elementor .hrf-marker {
  flex: 0 0 var(--marker-width);
  font-family: var(--font-mono);
  font-size: var(--font-size-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--color-accent-on-light);
}

/* ---------- Dark sections (CSS class hrf-dark on the section container) ---------- */
.elementor .hrf-dark {
  color: var(--color-steel);
}

.elementor .hrf-dark .elementor-widget-heading {
  color: var(--color-white);
}

.elementor .hrf-dark .elementor-widget-text-editor {
  color: var(--color-steel-light);
}

.elementor .hrf-dark .text-accent {
  color: var(--color-accent);
}

.elementor .hrf-dark .hrf-eyebrow {
  color: var(--color-steel-light);
}

.elementor .hrf-dark .hrf-marker {
  color: var(--color-accent);
}

.elementor .hrf-dark .hrf-label {
  color: var(--color-steel);
}

/* ---------- Buttons (button widget + classes hrf-btn hrf-btn--*) ---------- */
.elementor .hrf-btn .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height);
  padding: var(--space-none) var(--space-lg);
  border: var(--border-width) solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-heading);
  font-size: var(--font-size-md);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.elementor .hrf-btn .elementor-button-content-wrapper {
  gap: var(--space-xs);
}

.elementor .hrf-btn .elementor-button-icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  fill: currentColor;
}

.elementor .hrf-btn--primary .elementor-button {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

.elementor .hrf-btn--primary .elementor-button:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-accent-ink);
}

.elementor .hrf-btn--secondary .elementor-button {
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.elementor .hrf-btn--secondary .elementor-button:hover {
  background: var(--color-ink);
  color: var(--color-white);
}

.elementor .hrf-btn--light .elementor-button {
  border-color: var(--color-on-dark-line);
  color: var(--color-white);
}

.elementor .hrf-btn--light .elementor-button:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy-900);
}

.elementor .hrf-btn--small .elementor-button {
  min-height: var(--button-height-sm);
  padding: var(--space-none) var(--space-md);
  font-size: var(--font-size-sm);
}

.elementor .hrf-btn--text .elementor-button {
  min-height: var(--touch-target);
  padding: var(--space-none);
  border: var(--space-none);
  font-size: var(--font-size-sm);
  color: var(--color-navy-700);
}

.elementor .hrf-btn--text .elementor-button:hover {
  background: transparent;
  color: var(--color-accent-on-light);
}

.elementor .hrf-dark .hrf-btn--text .elementor-button {
  color: var(--color-accent);
}

/* ---------- Lists (icon list widget) ---------- */
.elementor .hrf-tags .elementor-icon-list-items,
.elementor .hrf-facts .elementor-icon-list-items,
.elementor .hrf-links .elementor-icon-list-items,
.elementor .hrf-jump .elementor-icon-list-items,
.elementor .hrf-checks .elementor-icon-list-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin: var(--space-none);
}

.elementor .hrf-tags .elementor-inline-items .elementor-icon-list-item,
.elementor .hrf-facts .elementor-inline-items .elementor-icon-list-item,
.elementor .hrf-links .elementor-inline-items .elementor-icon-list-item,
.elementor .hrf-jump .elementor-inline-items .elementor-icon-list-item {
  margin: var(--space-none);
  padding-inline-end: var(--space-none);
}

.elementor .hrf-tags .elementor-icon-list-items.elementor-inline-items,
.elementor .hrf-facts .elementor-icon-list-items.elementor-inline-items,
.elementor .hrf-links .elementor-icon-list-items.elementor-inline-items,
.elementor .hrf-jump .elementor-icon-list-items.elementor-inline-items {
  margin: var(--space-none);
}

/* Tags */
.elementor .hrf-tags .elementor-icon-list-item {
  padding: var(--space-3xs) var(--space-xs);
  border: var(--border-width) solid var(--color-line);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-size: var(--font-size-xs);
  line-height: var(--leading-body);
  color: var(--color-text);
}

.elementor .hrf-dark .hrf-tags .elementor-icon-list-item {
  background: transparent;
  border-color: var(--color-line-dark);
  color: var(--color-steel-light);
}

/* Check list */
.elementor .hrf-checks .elementor-icon-list-items {
  flex-direction: column;
  flex-wrap: nowrap;
}

.elementor .hrf-checks .elementor-icon-list-item {
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  line-height: var(--leading-snug);
  color: var(--color-text);
}

.elementor .hrf-checks .elementor-icon-list-icon svg,
.elementor .hrf-facts .elementor-icon-list-icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  fill: var(--color-accent-on-light);
}

/* Hero facts */
.elementor .hrf-facts .elementor-icon-list-items {
  gap: var(--space-sm) var(--space-xl);
  padding-top: var(--space-lg);
  border-top: var(--border-width) solid var(--color-line-dark);
}

.elementor .hrf-facts .elementor-icon-list-item {
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--color-steel-light);
}

.elementor .hrf-facts .elementor-icon-list-icon svg {
  fill: var(--color-accent);
}

/* Link list (recommended products) */
.elementor .hrf-links .elementor-icon-list-items {
  gap: var(--space-xs) var(--space-lg);
}

.elementor .hrf-links .elementor-icon-list-item a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: var(--touch-target);
  border-bottom: var(--border-width) solid var(--color-line);
  font-size: var(--font-size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-navy-700);
  text-decoration: none;
}

.elementor .hrf-links .elementor-icon-list-item a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-on-light);
}

.elementor .hrf-links .elementor-icon-list-icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
  fill: currentColor;
}

/* Jump navigation */
.elementor .hrf-jump .elementor-icon-list-items {
  flex-wrap: nowrap;
  gap: var(--space-xl);
  overflow-x: auto;
}

.elementor .hrf-jump .elementor-icon-list-item {
  flex: none;
}

.elementor .hrf-jump .elementor-icon-list-item a {
  display: flex;
  align-items: center;
  min-height: var(--button-height);
  border-bottom: var(--border-width-strong) solid transparent;
  font-size: var(--font-size-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.elementor .hrf-jump .elementor-icon-list-item a:hover {
  border-bottom-color: var(--color-accent);
  color: var(--color-ink);
}

/* Breadcrumb (text editor) */
.elementor .hrf-breadcrumb {
  font-size: var(--font-size-xs);
  color: var(--color-steel-light);
}

.elementor .hrf-breadcrumb a {
  color: var(--color-steel);
}

.elementor .hrf-breadcrumb .hrf-sep {
  padding-inline: var(--space-xs);
  color: var(--color-line-dark);
}

/* ---------- Icon boxes ---------- */
.elementor .hrf-feature,
.elementor .hrf-keypoint {
  --icon-box-icon-margin: var(--space-md);
}

.elementor .hrf-feature .elementor-icon-box-wrapper,
.elementor .hrf-keypoint .elementor-icon-box-wrapper {
  align-items: flex-start;
  text-align: start;
}

.elementor .hrf-feature .elementor-icon,
.elementor .hrf-keypoint .elementor-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-none);
  font-size: var(--icon-md);
  color: var(--color-accent-on-light);
  fill: var(--color-accent-on-light);
  background: transparent;
}

.elementor .hrf-feature .elementor-icon svg,
.elementor .hrf-keypoint .elementor-icon svg {
  fill: currentColor;
}

.elementor .hrf-feature .elementor-icon-box-title,
.elementor .hrf-keypoint .elementor-icon-box-title {
  margin: var(--space-none);
  font-size: var(--font-size-md);
  line-height: var(--leading-snug);
  color: var(--color-ink);
}

.elementor .hrf-feature .elementor-icon-box-description,
.elementor .hrf-keypoint .elementor-icon-box-description {
  margin: var(--space-2xs) var(--space-none) var(--space-none);
  font-size: var(--font-size-sm);
  color: var(--color-muted);
}

/* Key point rows */
.elementor .hrf-keypoint {
  padding-block: var(--space-lg);
  border-bottom: var(--border-width) solid var(--color-line);
}

.elementor .hrf-keypoints > .hrf-keypoint:first-child {
  border-top: var(--border-width) solid var(--color-line);
}

/* Feature cards */
.elementor .hrf-feature {
  --icon-box-icon-margin: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: var(--border-width-strong) solid var(--color-navy-900);
}

.elementor .hrf-feature .elementor-icon {
  width: var(--icon-box);
  height: var(--icon-box);
  border-radius: var(--radius-sm);
  background: var(--color-navy-900);
  color: var(--color-accent);
}

.elementor .hrf-feature .elementor-icon-box-title {
  font-size: var(--font-size-lg);
  line-height: var(--leading-tight);
}

.elementor .hrf-feature .elementor-icon-box-description {
  margin-top: var(--space-sm);
}

.elementor .hrf-dark .hrf-feature {
  border-top-color: var(--color-accent);
}

.elementor .hrf-dark .hrf-feature .elementor-icon {
  background: var(--color-navy-800);
}

.elementor .hrf-dark .hrf-feature .elementor-icon-box-title {
  color: var(--color-white);
}

.elementor .hrf-dark .hrf-feature .elementor-icon-box-description {
  color: var(--color-steel);
}

/* ---------- Cards and media (container / image classes) ---------- */
.elementor .hrf-card {
  overflow: hidden;
  background: var(--color-white);
  border: var(--border-width) solid var(--color-line);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.elementor .hrf-card:hover {
  border-color: var(--color-steel);
  box-shadow: var(--shadow-md);
}

.elementor .hrf-appcard {
  overflow: hidden;
  background: var(--color-navy-800);
  border: var(--border-width) solid var(--color-line-dark);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color var(--transition);
}

.elementor .hrf-appcard:hover {
  border-color: var(--color-accent);
}

.elementor .hrf-appcard .elementor-widget-text-editor {
  color: var(--color-steel);
}

.elementor .hrf-media a,
.elementor .hrf-media-app a,
.elementor .hrf-media-framed a {
  display: block;
}

.elementor .hrf-media img,
.elementor .hrf-media a img {
  width: var(--full);
  aspect-ratio: var(--ratio-product);
  object-fit: cover;
  background: var(--color-surface);
  border-bottom: var(--border-width) solid var(--color-line);
}

.elementor .hrf-media-tall img {
  width: var(--full);
  aspect-ratio: var(--ratio-portrait);
  object-fit: cover;
  background: var(--color-surface);
  border-bottom: var(--border-width) solid var(--color-line);
}

.elementor .hrf-media-app img {
  width: var(--full);
  aspect-ratio: var(--ratio-application);
  object-fit: cover;
  border-bottom: var(--border-width) solid var(--color-line-dark);
}

.elementor .hrf-media-framed img {
  width: var(--full);
  border: var(--border-width) solid var(--color-line);
  border-radius: var(--radius-sm);
}

.elementor .hrf-card-meta {
  padding-top: var(--space-sm);
  border-top: var(--border-width) solid var(--color-line);
}

/* Option list rows */
.elementor .hrf-option {
  border-bottom: var(--border-width) solid var(--color-line);
}

.elementor .hrf-options > .hrf-option:first-child {
  border-top: var(--border-width) solid var(--color-line);
}

.elementor .hrf-dark .hrf-option,
.elementor .hrf-dark .hrf-options > .hrf-option:first-child {
  border-color: var(--color-line-dark);
}

/* Product / application detail rows */
.elementor .hrf-detail {
  border-bottom: var(--border-width) solid var(--color-line);
}

.elementor .hrf-details > .hrf-detail:last-child {
  border-bottom: var(--space-none);
}

/* Process line */
.elementor .hrf-step-line {
  flex: 1 1 auto;
  --divider-color: var(--color-line);
  --divider-border-width: var(--border-width);
}

.elementor .hrf-step-line .elementor-divider {
  padding-block: var(--space-none);
}

.elementor .hrf-process > .hrf-step {
  flex: 1 1 0;
}

/* Form header */
.elementor .hrf-form-header {
  border-bottom: var(--border-width) solid var(--color-line);
}

/* Spec table (text editor holding a table) */
.elementor .hrf-spec table {
  width: var(--full);
  margin: var(--space-none);
  border-collapse: collapse;
  border-top: var(--border-width) solid var(--color-line);
  font-size: var(--font-size-sm);
}

.elementor .hrf-spec td {
  padding: var(--space-xs) var(--space-none);
  border: var(--space-none);
  border-bottom: var(--border-width) solid var(--color-line);
  color: var(--color-muted);
  text-align: left;
}

.elementor .hrf-spec td + td {
  font-weight: var(--weight-medium);
  color: var(--color-ink);
  text-align: right;
}

.elementor .hrf-spec th {
  padding: var(--space-xs) var(--space-none);
  border: var(--space-none);
  border-bottom: var(--border-width) solid var(--color-line);
  font-weight: var(--weight-medium);
  color: var(--color-ink);
  text-align: left;
}

.elementor .hrf-spec thead th {
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-muted);
}

.elementor .hrf-spec thead th + th {
  text-align: right;
}

/* Model list (text editor holding a wide table; scrolls sideways on small screens) */
.elementor .hrf-models {
  overflow-x: auto;
  background: var(--color-white);
  border: var(--border-width) solid var(--color-line);
  border-radius: var(--radius-sm);
}

.elementor .hrf-models table {
  width: var(--full);
  min-width: var(--table-min);
  margin: var(--space-none);
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.elementor .hrf-models th,
.elementor .hrf-models td {
  padding: var(--space-sm) var(--space-md);
  border: var(--space-none);
  border-bottom: var(--border-width) solid var(--color-line);
  color: var(--color-text);
  text-align: left;
  white-space: nowrap;
}

.elementor .hrf-models thead th {
  background: var(--color-navy-900);
  font-family: var(--font-mono);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-white);
}

.elementor .hrf-models tbody th {
  font-weight: var(--weight-semibold);
  color: var(--color-ink);
}

.elementor .hrf-models tbody tr:last-child th,
.elementor .hrf-models tbody tr:last-child td {
  border-bottom: var(--space-none);
}

.elementor .hrf-models tbody tr:hover {
  background: var(--color-surface);
}

.elementor .hrf-models a {
  font-weight: var(--weight-semibold);
  color: var(--color-navy-700);
}

/* Compact spec matrix inside a detail column */
.elementor .hrf-models--compact table {
  min-width: var(--table-min-compact);
  font-size: var(--font-size-xs);
}

.elementor .hrf-models--compact th,
.elementor .hrf-models--compact td {
  padding: var(--space-xs) var(--space-sm);
}

/* Hero product photo */
.elementor .hrf-hero-photo img {
  width: var(--full);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ---------- Light page hero (CSS class hrf-hero-light): white header flows into a soft brand tint ---------- */
.elementor .hrf-hero-light .hrf-title {
  color: var(--color-navy-900);
}

.elementor .hrf-hero-light .hrf-breadcrumb {
  color: var(--color-muted);
}

.elementor .hrf-hero-light .hrf-breadcrumb a {
  color: var(--color-navy-700);
}

.elementor .hrf-hero-light .hrf-breadcrumb .hrf-sep {
  color: var(--color-steel);
}

/* Headings in brand blue on light sections (dark sections keep white headings) */
.elementor .elementor-widget-heading {
  color: var(--color-navy-900);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .elementor .hrf-process > .hrf-step {
    flex: none;
  }

  .elementor .hrf-hero-media {
    max-width: var(--measure-narrow);
  }

  .elementor .hrf-media-framed {
    max-width: var(--measure-narrow);
  }
}

@media (max-width: 767px) {
  /* Horizontal swipe rows */
  .elementor .hrf-scroll-row,
  .elementor .hrf-facts .elementor-icon-list-items {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--space-xs);
  }

  .elementor .hrf-scroll-row > .e-con {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .elementor .hrf-facts .elementor-icon-list-items {
    gap: var(--space-xs);
  }

  .elementor .hrf-facts .elementor-icon-list-item {
    flex: none;
    padding: var(--space-xs) var(--space-sm);
    border: var(--border-width) solid var(--color-line-dark);
    border-radius: var(--radius-sm);
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .elementor .hrf-jump .elementor-icon-list-items {
    gap: var(--space-lg);
  }

  .elementor .hrf-btn--full .elementor-button {
    width: var(--full);
  }
}
