/* TalosDev service shortcode blocks: frontend + Elementor editor preview */
.td-service-featured-industries-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:16px;
  width:100%;
  align-items:stretch;
}
.td-service-industry-card{
  min-height:130px;
  padding:24px 16px 20px;
  border:1px solid #cfe2ff;
  border-radius:16px;
  background:#f8fbff;
  color:#0f172a;
  text-decoration:none !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:14px;
  text-align:center;
  box-sizing:border-box;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.td-service-industry-card:hover{
  color:#0f172a;
  background:#fff;
  border-color:#2563eb;
  box-shadow:0 10px 26px rgba(37,99,235,.12);
  transform:translateY(-3px);
}
.td-service-industry-card__icon{
  display:block;
  width:30px;
  height:30px;
  flex:0 0 auto;
  color:#2563eb;
  fill:none;
  stroke:currentColor;
}
.td-service-industry-card__title{
  display:block;
  color:#0f172a;
  font-size:16px;
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.015em;
}
@media (max-width:1024px){
  .td-service-featured-industries-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:767px){
  .td-service-featured-industries-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .td-service-industry-card{min-height:118px;padding:20px 12px 16px;border-radius:14px;}
  .td-service-industry-card__title{font-size:15px;}
}

/* Dynamic service repeaters: Why It Matters, Benefits, Features and Problems */
.td-service-blocks{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  width:100%;
  align-items:stretch;
}
.td-service-block{
  min-height:210px;
  padding:28px;
  border:1px solid #dbe5f1;
  border-radius:16px;
  background:#fff;
  color:#0f172a;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.td-service-block__icon{
  width:26px;
  height:26px;
  margin:0 0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#2563eb;
  flex:0 0 auto;
}
.td-service-block__svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;}
.td-service-block__highlight{
  display:block;
  margin:0 0 8px;
  color:#2563eb;
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  line-height:1.3;
  text-transform:uppercase;
}
.td-service-block__title{
  margin:0;
  color:#0f172a;
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  letter-spacing:-.02em;
}
.td-service-block__description{
  margin:14px 0 0;
  color:#475569;
  font-size:15px;
  line-height:1.62;
}
.td-service-block__solution{
  width:100%;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid #e8eef6;
  text-align:left;
}
.td-service-block__solution-icon{display:inline-flex;vertical-align:top;margin:2px 8px 0 0;color:#2563eb;}
.td-service-block__solution h4{display:inline;margin:0;color:#0f172a;font-size:15px;font-weight:700;line-height:1.4;}
.td-service-block__solution p{margin:8px 0 0;color:#475569;font-size:14px;line-height:1.55;}
@media (max-width:1024px){
  .td-service-blocks{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:767px){
  .td-service-blocks{grid-template-columns:1fr;gap:14px;}
  .td-service-block{min-height:0;padding:24px 20px;}
  .td-service-block__title{font-size:17px;}
}


/* Compact two-panel Problems vs Solutions summary */
.td-problem-solution-summary{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  width:100%;
  align-items:stretch;
}
.td-problem-solution-summary__panel{
  padding:30px 32px;
  border:2px solid #dbe5f1;
  background:#fff;
  box-sizing:border-box;
}
.td-problem-solution-summary__panel--problem{
  border-color:#fecaca;
  background:#fffafa;
}
.td-problem-solution-summary__panel--solution{
  border-color:#bfdbfe;
  background:#fbfdff;
}
.td-problem-solution-summary__title{
  margin:0 0 24px;
  font-size:20px;
  line-height:1.25;
  letter-spacing:-.025em;
  font-weight:750;
}
.td-problem-solution-summary__panel--problem .td-problem-solution-summary__title{color:#c81e1e;}
.td-problem-solution-summary__panel--solution .td-problem-solution-summary__title{color:#2563eb;}
.td-problem-solution-summary__list{margin:0;padding:0;list-style:none;display:grid;gap:10px;}
.td-problem-solution-summary__item{display:flex;align-items:flex-start;gap:10px;color:#0f172a;font-size:15px;font-weight:600;line-height:1.45;}
.td-problem-solution-summary__icon{display:inline-flex;flex:0 0 auto;margin-top:2px;}
.td-problem-solution-summary__item--problem .td-problem-solution-summary__icon{color:#ef4444;}
.td-problem-solution-summary__item--solution .td-problem-solution-summary__icon{color:#2563eb;}
.td-problem-solution-summary__svg{display:block;fill:none;stroke:currentColor;}
@media (max-width:767px){
  .td-problem-solution-summary{grid-template-columns:1fr;gap:16px;}
  .td-problem-solution-summary__panel{padding:24px 20px;}
  .td-problem-solution-summary__title{font-size:18px;margin-bottom:18px;}
}


/* Process / workflow shortcode: connected steps layout */
.td-service-process{
  --td-process-columns:5;
  position:relative;
  display:grid;
  grid-template-columns:repeat(var(--td-process-columns),minmax(0,1fr));
  gap:18px;
  width:100%;
  align-items:stretch;
}
.td-service-process--connected::before{
  content:"";
  position:absolute;
  top:50px;
  left:calc(10% + 8px);
  right:calc(10% + 8px);
  height:2px;
  background:#bfdbfe;
  z-index:0;
}
.td-service-process__step{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  min-height:300px;
  padding:26px 24px 28px;
  border:1px solid #dbe5f1;
  border-radius:16px;
  background:#fff;
  box-sizing:border-box;
  color:#0f172a;
}
.td-service-process__number{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:44px;
  height:44px;
  margin:0 0 26px;
  border-radius:999px;
  background:#fff;
  border:2px solid #2563eb;
  color:#2563eb;
  font-size:13px;
  font-weight:800;
  line-height:1;
}
.td-service-process__title{
  margin:0;
  color:#2563eb;
  font-size:clamp(22px,1.75vw,26px);
  font-weight:750;
  letter-spacing:-.035em;
  line-height:1.1;
  text-wrap:balance;
}
.td-service-process__description{
  margin:18px 0 0;
  color:#0f172a;
  font-size:15px;
  line-height:1.62;
}
@media (max-width:1200px){
  .td-service-process{grid-template-columns:repeat(3,minmax(0,1fr));}
  .td-service-process--connected::before{display:none;}
}
@media (max-width:767px){
  .td-service-process{grid-template-columns:1fr;gap:14px;}
  .td-service-process__step{min-height:0;padding:24px 20px;}
  .td-service-process__number{margin-bottom:20px;}
  .td-service-process__title{font-size:24px;}
}


/* =========================================================
   FAQ Loop Grid accordion
   Required Elementor classes:
   - Loop Grid: td-faq-accordion
   - Loop Item root: td-faq-item
   - Question row: td-faq-question
   - Answer wrapper: td-faq-answer-wrap
   - Optional plus icon: td-faq-icon
   ========================================================= */
.td-faq-accordion{
  width:100%;
}
.td-faq-accordion .e-loop-item,
.td-faq-accordion .elementor-loop-container{
  min-width:0;
}
.td-faq-item{
  width:100%;
  overflow:hidden;
  border:1px solid #dbe5f1;
  border-radius:14px;
  background:#fff;
  box-sizing:border-box;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.td-faq-item:hover,
.td-faq-item.is-open{
  border-color:#bfdbfe;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
}
.td-faq-item.is-open{
  border-color:#93c5fd;
}
.td-faq-question{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  min-height:74px;
  padding:21px 24px;
  margin:0;
  border:0;
  background:transparent;
  color:#0f172a;
  text-align:left;
  cursor:pointer;
  box-sizing:border-box;
}
.td-faq-question:focus-visible{
  outline:3px solid rgba(37,99,235,.28);
  outline-offset:-3px;
}
.td-faq-question .elementor-heading-title,
.td-faq-question .elementor-widget-container{
  margin:0;
}
.td-faq-question .elementor-heading-title{
  color:#0f172a;
  font-size:18px;
  font-weight:700;
  line-height:1.42;
  letter-spacing:-.016em;
}
.td-faq-answer-wrap{
  display:grid;
  grid-template-rows:0fr;
  min-height:0;
  transition:grid-template-rows .28s ease;
}
.td-faq-answer-wrap > *{
  min-height:0;
  overflow:hidden;
}
.td-faq-item.is-open .td-faq-answer-wrap{
  grid-template-rows:1fr;
}
.td-faq-answer-wrap .elementor-widget-text-editor,
.td-faq-answer-wrap .elementor-widget-container{
  padding:0 24px 22px;
  color:#475569;
  font-size:15px;
  line-height:1.72;
}
.td-faq-answer-wrap p{
  margin:0;
}
.td-faq-answer-wrap p + p{
  margin-top:12px;
}
.td-faq-icon{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #bfdbfe;
  border-radius:999px;
  background:#eff6ff;
  color:#2563eb;
  transition:transform .25s ease,background .25s ease,border-color .25s ease,color .25s ease;
}
.td-faq-icon svg,
.td-faq-icon i{
  width:15px;
  height:15px;
  line-height:1;
}
.td-faq-item.is-open .td-faq-icon{
  transform:rotate(45deg);
  border-color:#2563eb;
  background:#2563eb;
  color:#fff;
}
@media (max-width:767px){
  .td-faq-question{min-height:68px;padding:18px 18px;gap:12px;}
  .td-faq-question .elementor-heading-title{font-size:16px;line-height:1.45;}
  .td-faq-answer-wrap .elementor-widget-text-editor,
  .td-faq-answer-wrap .elementor-widget-container{padding:0 18px 19px;font-size:14px;}
  .td-faq-icon{width:30px;height:30px;flex-basis:30px;}
}

/* =========================================================
   Service FAQ Accordion shortcode
   [td_service_faq_accordion]
   ========================================================= */
.td-service-faq-accordion {
  width: 100%;
  display: grid;
  gap: 14px;
}
.td-service-faq-accordion .td-faq-question {
  font: inherit;
}
.td-service-faq-accordion .td-faq-question__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #0f172a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -.016em;
}
.td-service-faq-accordion .td-faq-answer-wrap > .td-faq-answer {
  min-height: 0;
  overflow: hidden;
  padding: 0 24px 22px;
  color: #475569;
  font-size: 15px;
  line-height: 1.72;
}
.td-service-faq-accordion .td-faq-answer-wrap .td-faq-answer > :first-child {
  margin-top: 0;
}
.td-service-faq-accordion .td-faq-answer-wrap .td-faq-answer > :last-child {
  margin-bottom: 0;
}
.td-service-faq-accordion .td-faq-icon > span {
  display: block;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
}
@media (max-width: 767px) {
  .td-service-faq-accordion .td-faq-question__text { font-size: 16px; line-height: 1.45; }
  .td-service-faq-accordion .td-faq-answer-wrap > .td-faq-answer { padding: 0 18px 19px; font-size: 14px; }
}


/* =========================================================
   Service FAQ shortcode hardening: prevents Elementor/theme button
   styles and guarantees closed answers stay hidden.
   ========================================================= */
.td-service-faq-accordion .td-faq-item {
  margin: 0 !important;
  border: 1px solid #dbe5f1 !important;
  border-radius: 14px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
.td-service-faq-accordion .td-faq-question {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 100% !important;
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 20px 24px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  background-image: none !important;
  color: #0f172a !important;
  text-align: left !important;
  font: inherit !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
.td-service-faq-accordion .td-faq-question:hover {
  background: #f8fbff !important;
}
.td-service-faq-accordion .td-faq-question__text {
  color: #0f172a !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.42 !important;
}
.td-service-faq-accordion .td-faq-answer-wrap[hidden] {
  display: none !important;
}
.td-service-faq-accordion .td-faq-answer-wrap {
  display: block !important;
  overflow: hidden !important;
  background: #ffffff !important;
}
.td-service-faq-accordion .td-faq-answer {
  padding: 0 24px 22px !important;
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
}
.td-service-faq-accordion .td-faq-answer p {
  margin: 0 !important;
}
.td-service-faq-accordion .td-faq-icon {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  border: 1px solid #bfdbfe !important;
  border-radius: 999px !important;
  background: #eff6ff !important;
  color: #2563eb !important;
}
.td-service-faq-accordion .td-faq-item.is-open .td-faq-question {
  background: #f8fbff !important;
}
@media (max-width: 767px) {
  .td-service-faq-accordion .td-faq-question { padding: 18px 20px !important; min-height: 64px !important; }
  .td-service-faq-accordion .td-faq-question__text { font-size: 16px !important; }
  .td-service-faq-accordion .td-faq-answer { padding: 0 20px 20px !important; font-size: 14px !important; }
}
