/* =========================================================================
   FEIRAN SERVICES — scoped Elementor widget styles
   Namespaced under .feiran-services-widget so it never collides with the
   host theme. Mirrors the "04 — Services" list block on the Feiran homepage.
   ========================================================================= */

.feiran-services-widget{
  /* Brand tokens — overridable from the Style tab */
  --fs-red-600:#d92231;
  --fs-navy-900:#101a36;
  --fs-ink-900:#101a36;
  --fs-ink-700:#28344a;
  --fs-ink-500:#5d6478;
  --fs-ink-400:#8a8f9c;
  --fs-line:#e1e2e6;
  --fs-line-strong:#cdd0d6;
  --fs-bg-elev:#f6f7f9;
  --fs-white:#ffffff;

  --fs-content-max:1320px;

  --fs-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fs-easing:cubic-bezier(.2,.7,.2,1);

  font-family:var(--fs-font);
  color:var(--fs-ink-900);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.feiran-services-widget *,
.feiran-services-widget *::before,
.feiran-services-widget *::after{ box-sizing:border-box; }

/* ---- Section shell --------------------------------------------------- */
.feiran-services{ width:100%; }
.feiran-services__container{
  width:100%;
  max-width:var(--fs-content-max);
  margin:0 auto;
}

/* ---- Section head ---------------------------------------------------- */
.feiran-services__head{
  display:grid;
  grid-template-columns:1fr 1.4fr;
  gap:48px;
  align-items:end;
  margin-bottom:56px;
}
.feiran-services__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--fs-mono);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color:var(--fs-ink-500);
  margin:0;
}
.feiran-services__eyebrow::before{
  content:"";
  width:24px;height:1px;
  background:var(--fs-red-600);
  opacity:.9;
}
.feiran-services__title{
  margin:18px 0 0;
  font-size:clamp(28px, 3vw, 44px);
  font-weight:600;
  line-height:1.05;
  letter-spacing:-0.02em;
  color:var(--fs-ink-900);
  text-wrap:balance;
}
.feiran-services__lede{
  margin:0;
  font-size:17px;
  line-height:1.55;
  color:var(--fs-ink-700);
  max-width:54ch;
  text-wrap:pretty;
}

/* ---- List ------------------------------------------------------------ */
.feiran-services__list{
  display:flex;
  flex-direction:column;
  border-top:1px solid var(--fs-line);
}
.feiran-service-row{
  display:grid;
  grid-template-columns:80px 1.4fr 2fr 1fr;
  gap:36px;
  align-items:center;
  padding:32px 8px;
  border-bottom:1px solid var(--fs-line);
  transition:padding .3s var(--fs-easing), background .3s;
  position:relative;
  color:inherit;
  text-decoration:none;
}
.feiran-service-row:hover{
  background:var(--fs-bg-elev);
  padding-left:24px;
  padding-right:24px;
}
.feiran-service-row__num{
  font-family:var(--fs-mono);
  font-size:13px;
  color:var(--fs-ink-400);
}
.feiran-service-row__title{
  margin:0;
  font-size:22px;
  font-weight:600;
  letter-spacing:-.02em;
  color:var(--fs-ink-900);
}
.feiran-service-row__desc{
  margin:0;
  color:var(--fs-ink-500);
  font-size:15px;
  line-height:1.5;
}
.feiran-service-row__cta{ justify-self:end; }
.feiran-service-row__circle{
  width:44px;height:44px;
  border-radius:50%;
  display:grid;place-items:center;
  background:var(--fs-white);
  box-shadow:inset 0 0 0 1px var(--fs-line-strong);
  color:var(--fs-ink-700);
  transition:background .25s, color .25s, transform .35s var(--fs-easing), box-shadow .25s;
}
.feiran-service-row__circle svg{ width:16px;height:16px;display:block; }
.feiran-service-row:hover .feiran-service-row__circle{
  background:var(--fs-navy-900);
  color:#fff;
  box-shadow:inset 0 0 0 1px var(--fs-navy-900);
  transform:rotate(-45deg);
}

/* ---- Entrance reveal ------------------------------------------------- */
.feiran-services [data-fs-reveal]{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .6s var(--fs-easing), transform .6s var(--fs-easing);
}
.feiran-services [data-fs-reveal].is-in{
  opacity:1;
  transform:translateY(0);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:980px){
  .feiran-services__head{
    grid-template-columns:1fr;
    gap:20px;
    margin-bottom:40px;
  }
}
@media (max-width:880px){
  .feiran-service-row{
    grid-template-columns:60px 1fr auto;
    gap:18px;
    padding:24px 8px;
  }
  .feiran-service-row__desc{ display:none; }
  .feiran-service-row__title{ font-size:18px; }
  .feiran-services__lede{ font-size:16px; }
}

@media (prefers-reduced-motion: reduce){
  .feiran-services *{
    animation:none !important;
    transition:none !important;
  }
  .feiran-services [data-fs-reveal]{ opacity:1 !important; transform:none !important; }
}
