/* TC How It Works: styles for native Elementor containers/widgets with tchw-* classes */
.tchw-hero, .tchw-grid, .tchw-cta { --tchw-accent: #FF7900; --tchw-bg: #171A1C; --tchw-surface: #262B2F; --tchw-muted: #AEB5BB; --tchw-line: rgba(174, 181, 187, .5); }

/* Hero */
.tchw-hero { text-align: center; }
.tchw-hero .tchw-eyebrow .elementor-heading-title {
  font: 600 15px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .4em; text-transform: uppercase; color: var(--tchw-surface);
}
.tchw-hero .tchw-eyebrow .elementor-heading-title::before {
  content: ""; display: block; width: 120px; height: 4px; margin: 0 auto 16px; background: var(--tchw-accent);
}
.tchw-hero .tchw-h1 .elementor-heading-title { font: 400 clamp(36px, 4.6vw, 60px)/1.04 Anton, sans-serif; text-transform: uppercase; color: var(--tchw-bg); }
.tchw-hero .tchw-h1 .elementor-heading-title span { color: var(--tchw-accent); }
.tchw-hero .tchw-lead { max-width: 720px !important; width: 100%; margin-left: auto; margin-right: auto; }
.tchw-hero .tchw-lead, .tchw-hero .tchw-lead p { font: 400 17px/1.6 Inter, sans-serif; color: var(--tchw-surface); }

/* Grid of step cards */
.tchw-grid.e-con { counter-reset: tchw; }
.e-con.tchw-grid > .e-con-inner, .e-con.tchw-grid:not(:has(> .e-con-inner)) {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
.e-con.tchw-card {
  position: relative; display: flex; flex-direction: column; gap: 0; padding: 28px 26px 30px !important;
  background: #FFFFFF; border: 1px solid var(--tchw-line); border-top: 4px solid var(--tchw-accent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.e-con.tchw-card::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; background: var(--tchw-accent);
  clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: 0; transition: opacity .25s;
}
.e-con.tchw-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(23, 26, 28, .1); }
.e-con.tchw-card:hover::before { opacity: 1; }
/* Progress line along the top of each card that fills on hover */
.e-con.tchw-card::after {
  content: ""; position: absolute; left: 0; top: -4px; height: 4px; width: 0; background: var(--tchw-bg); transition: width .35s ease;
}
.e-con.tchw-card:hover::after { width: 100%; }

.tchw-card .tchw-top { display: flex; align-items: flex-start; justify-content: space-between; }
.tchw-card .tchw-num .elementor-heading-title {
  font: 400 64px/0.9 Anton, sans-serif; color: transparent; -webkit-text-stroke: 1.5px var(--tchw-muted); letter-spacing: .02em;
  transition: color .25s, -webkit-text-stroke-color .25s;
}
.tchw-card:hover .tchw-num .elementor-heading-title { color: var(--tchw-accent); -webkit-text-stroke-color: var(--tchw-accent); }
.tchw-card .tchw-icon .elementor-icon {
  display: grid; place-items: center; width: 56px; height: 56px; font-size: 24px; border-radius: 0;
  background: var(--tchw-bg); color: #FFFFFF; fill: #FFFFFF; transition: background-color .25s;
}
.tchw-card .tchw-icon .elementor-icon svg { width: 24px; height: 24px; fill: #FFFFFF; }
.tchw-card .tchw-icon .elementor-icon i { color: #FFFFFF; }
.tchw-card:hover .tchw-icon .elementor-icon { background: var(--tchw-accent); }
.tchw-card .tchw-step .elementor-heading-title {
  margin-top: 22px; font: 600 14px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--tchw-accent);
}
.tchw-card .tchw-title .elementor-heading-title { margin: 4px 0 10px; font: 400 clamp(22px, 1.8vw, 26px)/1.1 Anton, sans-serif; text-transform: uppercase; color: var(--tchw-bg); }
.tchw-card .tchw-text, .tchw-card .tchw-text p { margin: 0; font: 400 15px/1.6 Inter, sans-serif; color: var(--tchw-surface); }

/* Closing band */
.e-con.tchw-cta { background: var(--tchw-bg); position: relative; overflow: hidden; }
.e-con.tchw-cta::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--tchw-accent);
}
.tchw-cta .tchw-cta-title .elementor-heading-title { font: 400 clamp(30px, 3.4vw, 46px)/1.05 Anton, sans-serif; text-transform: uppercase; color: #FFFFFF; }
.tchw-cta .tchw-cta-title .elementor-heading-title span { color: var(--tchw-accent); }
.tchw-cta .tchw-cta-text, .tchw-cta .tchw-cta-text p { margin: 0; font: 400 16px/1.6 Inter, sans-serif; color: rgba(255, 255, 255, .8); }
.tchw-cta .tchw-btn .elementor-button {
  padding: 16px 28px; border-radius: 0; background: var(--tchw-accent); color: #FFFFFF;
  font: 600 17px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  transition: background-color .2s, color .2s;
}
.tchw-cta .tchw-btn .elementor-button:hover { background: #FFFFFF; color: var(--tchw-bg); }
.tchw-cta .tchw-btn--ghost .elementor-button { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); clip-path: none; }
.tchw-cta .tchw-btn--ghost .elementor-button:hover { background: #FFFFFF; color: var(--tchw-bg); }

/* Tablet */
@media (max-width: 1024px) {
  .e-con.tchw-grid > .e-con-inner, .e-con.tchw-grid:not(:has(> .e-con-inner)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-con.tchw-card::after { display: none; }
}
/* Phone */
@media (max-width: 767px) {
  .e-con.tchw-grid > .e-con-inner, .e-con.tchw-grid:not(:has(> .e-con-inner)) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .e-con.tchw-card { padding: 22px 20px 24px !important; }
  .tchw-card .tchw-num .elementor-heading-title { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) { .e-con.tchw-card { transition: none; } .e-con.tchw-card:hover { transform: none; } }

/* Icons: override the kit's default icon color */
.elementor .tchw-card .tchw-icon .elementor-icon,
.elementor .tchw-card .tchw-icon .elementor-icon i { color: #FFFFFF !important; }
.elementor .tchw-card .tchw-icon .elementor-icon svg,
.elementor .tchw-card .tchw-icon .elementor-icon svg * { fill: #FFFFFF !important; }
