/* Artix — Homepage (Graphite & Ember / Space Grotesk). Rich sections.
   Loaded on the front page only. Sections carry these classes via Elementor. */

/* ---------- Section rhythm ---------- */
.ax-sec { padding-block: clamp(4rem, 8vw, 7rem); }
.ax-sec--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.ax-eyebrow .elementor-heading-title { color: var(--ax-ember-text) !important; }

/* ---------- HERO (full-bleed background image + navy scrim) ---------- */
.ax-hero { position: relative; background-color: var(--ax-graphite); background-size: cover; background-position: center; color: #fff;
  min-height: clamp(560px, 74vh, 800px); display: flex; align-items: center; }
.ax-hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(16,24,42,.95) 0%, rgba(18,28,50,.86) 42%, rgba(13,15,17,.55) 100%); }
.ax-hero > .elementor-container { position: relative; z-index: 1; }
.ax-hero .ax-eyebrow .elementor-heading-title { color: var(--ax-ember) !important; }
.ax-hero .ax-h1 { font-family: var(--ax-font-display); font-weight: 800; color: #fff;
  font-size: clamp(2.7rem, 5.6vw, 5rem); line-height: 1.03; letter-spacing: -.02em; margin: 1.3rem 0; max-width: 20ch; }
.ax-hero .ax-h1 .ax-accent { color: var(--ax-ember); }
.ax-hero .ax-lead p { color: #DCD8CD !important; font-size: clamp(1.05rem,1.5vw,1.28rem); max-width: 52ch; }
.ax-hero .elementor-widget-shortcode { margin-top: 2rem; }

/* Inline-SVG trust icons */
.ax-trust .ax-tc-inner { text-align: left; }
.ax-trust .ax-tc-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(228,101,42,.16); margin-bottom: 1rem; }
.ax-trust .ax-tc-icon svg { width: 26px; height: 26px; stroke: var(--ax-ember-deep); fill: none; }
.ax-trust .ax-tc-inner h3 { font-family: var(--ax-font-display); font-weight: 700; font-size: 1.1rem; color: var(--ax-graphite); margin: 0 0 .4rem; }
.ax-trust .ax-tc-inner p { color: var(--ax-fog); font-size: .95rem; margin: 0; }

/* ---------- TRUST icon cards ---------- */
.ax-trust { background: #fff; }
.ax-trust .elementor-icon-box-wrapper { text-align: left; }
.ax-trust .elementor-icon { color: var(--ax-ember) !important; font-size: 26px; }
.ax-trust .elementor-icon-box-icon { margin-bottom: 1rem !important; }
.ax-trust .elementor-icon-box-title, .ax-trust .elementor-icon-box-title a {
  font-family: var(--ax-font-display) !important; font-weight: 700 !important; font-size: 1.1rem !important; color: var(--ax-graphite) !important; }
.ax-trust .elementor-icon-box-description { color: var(--ax-fog) !important; font-size: .95rem; }
.ax-trust .ax-tcard { background: var(--ax-paper); border: 1px solid var(--ax-line); border-radius: 12px; padding: 1.6rem 1.5rem; height: 100%; }

/* ---------- Service image cards (4-up) ---------- */
.ax-service { background: var(--ax-paper); }
.ax-service .ax-intro-h { margin-bottom: 2.6rem !important; }
.ax-service .ax-pcard > .elementor-element-populated { padding: 0 !important; background: #fff; border: 1px solid var(--ax-line);
  border-radius: 14px; overflow: hidden; height: 100%;
  transition: transform .2s var(--ax-ease), box-shadow .2s var(--ax-ease), border-color .2s var(--ax-ease); }
.ax-service .ax-pcard > .elementor-element-populated:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(20,22,25,.13); border-color: var(--ax-ember); }
.ax-service .ax-pcard .elementor-widget-image { margin-bottom: 1.2rem; }
.ax-service .ax-pcard .elementor-widget-image img { border-radius: 0 !important; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ax-service .ax-pcard .elementor-widget:not(.elementor-widget-image) { padding-inline: 1.4rem; }
.ax-service .ax-pcard .elementor-widget-text-editor { padding-bottom: 1.6rem; }
.ax-service .ax-pcard .ax-eyebrow .elementor-heading-title { color: var(--ax-ember-deep) !important; font-size: .74rem !important; }
.ax-service .ax-pcard .elementor-widget-heading:not(.ax-eyebrow) .elementor-heading-title { color: var(--ax-graphite) !important; font-size: 1.18rem !important; }
.ax-service .ax-pcard p { color: var(--ax-fog) !important; font-size: .92rem; }
.ax-more { color: var(--ax-ember-text); font-weight: 700; font-size: .88rem; text-decoration: none; padding-top: 1rem; display: inline-block; }
.ax-more:hover { color: var(--ax-graphite); }
@media (max-width: 1024px) { .ax-service .ax-pcard.elementor-column { width: 50% !important; } }
@media (max-width: 600px)  { .ax-service .ax-pcard.elementor-column { width: 100% !important; } }

/* ---------- FEATURE / ABOUT band ---------- */
.ax-feature { background: var(--ax-paper); }
.ax-feature .ax-feature-media img { border-radius: 16px; box-shadow: 0 20px 50px rgba(20,22,25,.14); }
.ax-feature blockquote { border-left: 3px solid var(--ax-ember); padding-left: 1.4rem; margin: 1.6rem 0;
  font-family: var(--ax-font-display); font-weight: 600; font-size: clamp(1.2rem,1.8vw,1.5rem); color: var(--ax-graphite); line-height: 1.35; }

/* ---------- ASSURANCE strip (segmented) ---------- */
.ax-stats { background: var(--ax-graphite); color: #fff; }
.ax-stats .elementor-heading-title { color: #fff !important; }
.ax-stats .elementor-column { border-left: 1px solid var(--ax-line-dark); padding: 1.2rem 1.3rem; }
.ax-stats .elementor-column:first-child { border-left: 0; }
.ax-stats .ax-stat-big .elementor-heading-title { font-family: var(--ax-font-display) !important; font-weight: 800 !important; color: var(--ax-ember) !important; font-size: clamp(1.5rem,2.4vw,2rem) !important; }
.ax-stats .ax-stat-lbl .elementor-heading-title { color: #C9CCD1 !important; font-size: .85rem !important; font-weight: 500 !important; }

/* ---------- SERVICES list (arrows) ---------- */
.ax-services { background: #fff; }
.ax-services .ax-eyebrow .elementor-heading-title { color: var(--ax-ember-deep) !important; }
.ax-svc-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; border-top: 1px solid var(--ax-line); font-family: var(--ax-font-display); font-weight: 600;
  font-size: clamp(1.1rem,1.7vw,1.45rem); color: var(--ax-graphite); text-decoration: none; transition: color .18s var(--ax-ease), padding .18s var(--ax-ease); }
.ax-svc-list a:last-child { border-bottom: 1px solid var(--ax-line); }
.ax-svc-list a:hover { color: var(--ax-ember-text); padding-left: .6rem; }
.ax-svc-list a::after { content: "↗"; color: var(--ax-ember); font-size: 1.1em; }

/* ---------- Why pillars ---------- */
.ax-why { background: var(--ax-graphite); color: #fff; }
.ax-why .elementor-heading-title { color: #fff !important; }
.ax-why .ax-eyebrow .elementor-heading-title { color: var(--ax-ember) !important; }
.ax-why .ax-pillar { border-top: 2px solid var(--ax-ember); padding-top: 1.1rem; }
.ax-why .ax-pillar .elementor-heading-title { color: #fff !important; font-size: 1.15rem !important; }
.ax-why .ax-pillar p { color: #C9CCD1 !important; font-size: .96rem; }

/* ---------- Testimonial band ---------- */
.ax-quote { background: var(--ax-paper); text-align: center; }
.ax-quote .ax-eyebrow .elementor-heading-title { color: var(--ax-ember-deep) !important; }
.ax-quote .ax-bigquote .elementor-heading-title { font-family: var(--ax-font-display) !important; font-weight: 700 !important;
  color: var(--ax-graphite) !important; font-size: clamp(1.5rem,2.8vw,2.3rem) !important; line-height: 1.3; max-width: 22ch; margin: 1rem auto; }
.ax-quote .ax-cite p { color: var(--ax-fog) !important; }

/* ---------- Insights ---------- */
.ax-insights { background: #fff; }
.ax-insights .ax-post { background: #fff; border: 1px solid var(--ax-line); border-radius: 14px; overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform .2s var(--ax-ease), box-shadow .2s var(--ax-ease); }
.ax-insights .ax-post:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20,22,25,.12); }
.ax-insights .ax-post .elementor-widget-image img { border-radius: 0 !important; aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.ax-insights .ax-post .ax-post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ax-insights .ax-post .ax-tag { display: inline-block; background: var(--ax-ember); color: var(--ax-graphite); font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 4px; margin-bottom: .7rem; align-self: flex-start; }
.ax-insights .ax-post h3 { font-family: var(--ax-font-display); font-weight: 700; font-size: 1.12rem; color: var(--ax-graphite); margin: 0; }
.ax-insights .ax-post .ax-meta { color: var(--ax-fog); font-size: .82rem; margin-top: .5rem; }

/* ---------- CTA band (image + navy scrim) ---------- */
.ax-cta { position: relative; background-color: var(--ax-graphite); background-size: cover; background-position: center; color: #fff; text-align: center; }
.ax-cta::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(20,22,25,.93) 0%, rgba(13,15,17,.9) 100%); }
.ax-cta > .elementor-container { position: relative; z-index: 1; }
.ax-cta .elementor-heading-title { color: #fff !important; max-width: 22ch; margin-inline: auto; }
.ax-cta .ax-eyebrow .elementor-heading-title { color: var(--ax-ember) !important; }
.ax-cta p { color: #C9CCD1 !important; max-width: 46ch; margin-inline: auto; }
.ax-cta .elementor-widget-shortcode { margin-top: 1.6rem; }

/* ---------- Section intro helper ---------- */
.ax-intro .elementor-heading-title { color: var(--ax-graphite) !important; }
.ax-intro-h .elementor-heading-title { font-size: clamp(1.8rem,3.2vw,2.6rem) !important; font-weight: 800 !important; }

/* ---------- Polish ---------- */
/* Equal-height cards: put the visual box on Elementor's populated wrapper (columns
   stretch to equal height, so height:100% makes every card box match). */
.ax-trust .ax-tcard { background: transparent !important; border: 0 !important; padding: 0 !important; height: auto !important; }
.ax-trust .ax-tcard > .elementor-element-populated { background: var(--ax-paper); border: 1px solid var(--ax-line);
  border-radius: 12px; padding: 1.6rem 1.5rem; height: 100%;
  transition: transform .2s var(--ax-ease), box-shadow .2s var(--ax-ease), border-color .2s var(--ax-ease); }
.ax-trust .ax-tcard > .elementor-element-populated:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(20,22,25,.10); border-color: var(--ax-ember); }
.ax-insights .ax-post { background: transparent !important; border: 0 !important; }
.ax-insights .ax-post > .elementor-element-populated { background: #fff; border: 1px solid var(--ax-line); border-radius: 14px; overflow: hidden; height: 100%;
  display: flex; flex-direction: column; transition: transform .2s var(--ax-ease), box-shadow .2s var(--ax-ease); }
.ax-insights .ax-post > .elementor-element-populated:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(20,22,25,.12); }
/* A little extra breathing room between Elementor-column cards */
.ax-trust .ax-tcard > .elementor-element-populated,
.ax-service .ax-pcard > .elementor-element-populated { margin: 8px; }
.ax-stats .elementor-column { padding-inline: 1.6rem; }
.ax-insights .ax-intro-h, .ax-feature .ax-intro-h, .ax-services .ax-intro-h { margin-bottom: 1.5rem !important; }
.ax-intro .ax-eyebrow { margin-bottom: .6rem; }
.ax-services .ax-eyebrow .elementor-heading-title { color: var(--ax-ember-deep) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .ax-stats .elementor-column { border-left: 0; border-top: 1px solid var(--ax-line-dark); padding-top: 1rem; }
}

/* "About us" image: fills its column and stays pinned while the text scrolls past (desktop). */
@media (min-width: 1025px) {
  .ax-feature > .elementor-container { align-items: stretch; }
  .ax-feature .ax-feature-media > .elementor-widget-wrap,
  .ax-feature .ax-feature-media > .elementor-element-populated { height: 100%; align-content: stretch; }
  .ax-feature .ax-feature-media .elementor-widget-image { position: sticky; top: 118px; width: 100%;
    height: min(calc(100vh - 160px), 100%); min-height: 460px; }
  .ax-feature .ax-feature-media .elementor-widget-image .elementor-widget-container { height: 100%; }
  .ax-feature .ax-feature-media .elementor-widget-image img { width: 100% !important; height: 100% !important; max-width: none;
    object-fit: cover; border-radius: var(--ax-r-xl, 1.75rem) !important; box-shadow: var(--ax-ring), var(--ax-shadow-lg); }
}
@media (max-width: 1024px) {
  .ax-feature .ax-feature-media .elementor-widget-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 1.25rem !important; }
}
