/* =========================================================
   Infutive Technology — Website Development service page
   Scoped stylesheet: every rule lives under .wd-page so it
   cannot clash with the site-wide theme.css
   ========================================================= */

.wd-page {
  /* Brand tokens — pulled from the site's own css/style.css so
     this page matches Infutive's real identity. */
  --ink: #0C2C4F;          /* site's --theme-color1 */
  --ink-soft: #16406E;
  --paper: #F7F8FD;        /* site's --sub-bg2 */
  --card: #FFFFFF;
  --line: #E7EAF1;
  --slate: #4B535D;        /* site's --paragraph */
  --slate-soft: #7C879C;
  --signal: #2563EB;       /* accent blue already used in the site's sidebar-cta component */
  --signal-dark: #1D4ED8;
  --signal-light: #7EA6FF;
  --signal-tint: #EDF3FF;
  --radius: 20px;
  --font-display: 'Urbanist', sans-serif;
  --font-body: 'Mulish', sans-serif;
  --font-mono: 'Courier New', monospace;

  font-family: 'Mulish', sans-serif;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.wd-page *, .wd-page *::before, .wd-page *::after { box-sizing: border-box; }
.wd-page img { max-width: 100%; display: block; }

.wd-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.wd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
}
.wd-eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--signal); }

.wd-page h1, .wd-page h2, .wd-page h3, .wd-page h4, .wd-page h5 {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.wd-page a { text-decoration: none; }

/* ---------- Buttons ---------- */
.wd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wd-btn-primary { background: var(--signal); color: #fff; }
.wd-btn-primary:hover { background: var(--signal-dark); transform: translateY(-3px); box-shadow: 0 16px 30px rgba(37,99,235,.3); }
.wd-btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.28); }
.wd-btn-ghost:hover { border-color: rgba(255,255,255,.7); transform: translateY(-3px); }
.wd-btn-dark { background: var(--ink); color: #fff; }
.wd-btn-dark:hover { background: var(--signal-dark); transform: translateY(-3px); }
.wd-btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.wd-btn:hover svg { transform: translateX(3px); }

/* =========================================================
   HERO
   ========================================================= */
.wd-hero { position: relative; background: #071B33; color: #EAEDF6; padding: 84px 0 90px; overflow: hidden; }
.wd-hero-glow1, .wd-hero-glow2 { position: absolute; border-radius: 50%; pointer-events: none; }
.wd-hero-glow1 { top: -220px; right: -140px; width: 560px; height: 560px; background: radial-gradient(circle, rgba(37,99,235,0.45) 0%, rgba(37,99,235,0) 70%); }
.wd-hero-glow2 { bottom: -260px; left: -140px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(37,99,235,0.28) 0%, rgba(37,99,235,0) 70%); }
.wd-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; }
.wd-hero-inner { position: relative; z-index: 2; }
.wd-hero-inner > * { max-width: 740px; }
.wd-hero-crumbs {font-family: var(--font-body);font-size: 18px;color: #fcfcfc;margin-bottom: 22px;}
.wd-hero-crumbs a {color: #ffffff;}
.wd-hero-crumbs a:hover { color: #fff; }
.wd-hero .wd-eyebrow { color: var(--signal-light); }
.wd-hero .wd-eyebrow::before { background: var(--signal-light); }
.wd-hero h1 { color: #fff; font-weight: 800; letter-spacing: -0.02em; font-size: clamp(34px, 4.6vw, 54px); margin: 18px 0 20px; }
.wd-hero h1 em { font-style: normal; color: var(--signal-light); }
.wd-hero p.lead { font-size: 17px; line-height: 1.7; color: #C4CAE0; max-width: 50ch; margin-bottom: 32px; }
.wd-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.wd-hero .wd-btn-primary { box-shadow: 0 20px 50px rgba(37,99,235,0.35); }

@media (prefers-reduced-motion: reduce) { .wd-hero-glow1, .wd-hero-glow2 { display: none; } }

/* =========================================================
   INTRO
   ========================================================= */
.wd-intro-block h2 {font-size: clamp(21px, 2.6vw, 28px);margin-bottom: 16px;}
.wd-intro-block p {font-size: 16px;line-height: 1.8;margin-bottom: 14px;color: var(--slate);}
.wd-intro-block p:last-child { margin-bottom: 0; }

/* =========================================================
   BODY LAYOUT — main column (content cards) + theme sidebar
   ========================================================= */
.wd-body { padding: 56px 0 80px; }
.wd-main-col { display: flex; flex-direction: column; gap: 28px; }

/* Sticky sidebar: scrolls with the page, stops exactly at its own
   bottom edge instead of leaving blank space once its content ends
   while the (taller) main column keeps scrolling. */
@media (min-width: 992px) {
  .wd-body .col-xl-4.col-lg-4 {
    position: sticky;
    top: 24px;
    align-self: flex-start;
  }
}

/* Generic card block used by every section from here down */
.wd-block {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  overflow: hidden;
}
.wd-block.wd-block-dark { background: var(--ink); border-color: var(--ink); color: #DCE3F0; }
.wd-block.wd-block-dark .wd-section-head p { color: var(--slate-soft); }

.wd-section-head { max-width: 640px; margin-bottom: 34px; position: relative; z-index: 2; }
.wd-section-head h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 12px 0 10px; }
.wd-block-dark .wd-section-head h2 { color: #fff; }
.wd-section-head p {font-size: 16px;color: var(--slate);line-height: 1.7;}

/* Decorative background shapes — subtle, contained within each card */
.wd-shape { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.wd-shape-blue { background: radial-gradient(circle, rgba(37,99,235,.14) 0%, rgba(37,99,235,0) 72%); }
.wd-shape-navy { background: radial-gradient(circle, rgba(12,44,79,.08) 0%, rgba(12,44,79,0) 72%); }
.wd-shape-light { background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 72%); }
.wd-shape-1 { width: 320px; height: 320px; top: -140px; right: -100px; }
.wd-shape-2 { width: 260px; height: 260px; bottom: -120px; left: -80px; }

/* =========================================================
   SERVICES GRID
   ========================================================= */
.wd-services-grid { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 16px; }
.wd-service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  flex: 1 1 calc(50% - 8px);
  min-width: 220px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.wd-service-card:hover {
  transform: translateY(-6px);
  background: var(--card);
  border-color: var(--signal);
  box-shadow: 0 18px 34px rgba(12,44,79,.12);
}
.wd-service-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--signal-tint); color: var(--signal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; transition: background .25s ease, color .25s ease, transform .25s ease;
}
.wd-service-card:hover .wd-service-icon { background: var(--signal); color: #fff; transform: scale(1.08) rotate(-4deg); }
.wd-service-icon svg { width: 20px; height: 20px; }
.wd-service-card h4 {font-size: 18px;margin-bottom: 7px;}
.wd-service-card p {font-size: 16px;line-height: 1.6;color: var(--slate);margin: 0;}

@media (max-width: 640px) { .wd-services-grid { grid-template-columns: 1fr; } }

/* =========================================================
   BENEFITS (dark card)
   ========================================================= */
.wd-benefits-list { position: relative; z-index: 2; display: flex; flex-direction: column; }
.wd-benefit-row {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 20px 14px; border-top: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; transition: background .2s ease, transform .2s ease;
}
.wd-benefit-row:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.wd-benefit-row:hover { background: rgba(255,255,255,.05); transform: translateX(6px); }
.wd-benefit-num {flex: 0 0 40px;font-family: var(--font-body);font-size: 18px;color: #e8e8e8;padding-top: 4px;}
.wd-benefit-row h4 {color: #fff;font-size: 18px;margin-bottom: 5px;}
.wd-benefit-row p {margin: 0;color: #ededed;font-size: 16px;line-height: 1.7;max-width: 60ch;}

/* =========================================================
   PROCESS
   ========================================================= */
.wd-process-list { position: relative; z-index: 2; display: flex; flex-direction: column; }
.wd-process-row { display: flex; align-items: flex-start; gap: 20px; position: relative; padding-bottom: 36px; }
.wd-process-row:last-child { padding-bottom: 0; }
.wd-process-marker {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; color: var(--signal);
  position: relative; z-index: 1; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.wd-process-row:hover .wd-process-marker { background: var(--signal); color: #fff; transform: scale(1.1); box-shadow: 0 10px 22px rgba(37,99,235,.3); }
.wd-process-row:not(:last-child)::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: -36px; width: 1px; background: var(--line); }
.wd-process-row h4 {font-size: 18px;margin-bottom: 6px;padding-top: 8px;}
.wd-process-row p {margin: 0;font-size: 16px;line-height: 1.7;color: var(--slate);max-width: 62ch;}

/* =========================================================
   WHY US + STACK
   ========================================================= */
.wd-split { position: relative; z-index: 2; }
.wd-split p {font-size: 16px;line-height: 1.8;color: var(--slate);margin-bottom: 14px;}
.wd-stack-groups { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.wd-stack-group { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.wd-stack-group h5 {font-family: var(--font-body);font-size: 18px;letter-spacing: .08em;text-transform: uppercase;color: var(--slate-soft);margin: 0 0 10px;}
.wd-stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-stack-tags span {
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.wd-stack-tags span:hover { background: var(--signal); color: #fff; border-color: var(--signal); transform: translateY(-2px); }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.wd-industries { position: relative; z-index: 2; }
.wd-industry-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.wd-industry-pills span {
  font-weight: 600;
  font-size: 16px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.wd-industry-pills span:hover { border-color: var(--signal); color: #fff; background: var(--signal); transform: translateY(-3px); }
.wd-industries-note {margin-top: 18px;font-size: 16px;color: var(--slate-soft);position: relative;z-index: 2;}

/* =========================================================
   FAQ
   ========================================================= */
.wd-faq { position: relative; z-index: 2; }
.wd-faq-item { border-bottom: 1px solid var(--line); border-radius: 10px; transition: background .2s ease; }
.wd-faq-item:first-child { border-top: 1px solid var(--line); }
.wd-faq-item:hover { background: var(--paper); }
.wd-faq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 20px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink);
}
.wd-faq-q .wd-faq-icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; position: relative;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.wd-faq-icon::before, .wd-faq-icon::after { content: ""; position: absolute; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.wd-faq-icon::before { width: 10px; height: 1.4px; }
.wd-faq-icon::after { width: 1.4px; height: 10px; }
.wd-faq-item[data-open="true"] .wd-faq-icon { background: var(--signal); border-color: var(--signal); }
.wd-faq-item[data-open="true"] .wd-faq-icon::before, .wd-faq-item[data-open="true"] .wd-faq-icon::after { background: #fff; }
.wd-faq-item[data-open="true"] .wd-faq-icon::after { transform: scaleY(0); }
.wd-faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.wd-faq-a p { margin: 0 0 20px; padding: 0 10px 0 0; font-size: 14.5px; line-height: 1.75; color: var(--slate); }

/* =========================================================
   CTA (inside main column, not full-bleed)
   ========================================================= */
.wd-cta-block { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 100%); color: #fff; }
.wd-cta-block h2 { color: #fff; font-size: clamp(21px, 2.6vw, 27px); }
.wd-cta-block p {color: #ededed;margin: 10px 0 24px;/* max-width: 480px; */font-size: 16px;position: relative;z-index: 2;}
.wd-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 2; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991px) {
  .wd-block { padding: 30px 24px; }
}
@media (max-width: 640px) {
  .wd-hero { padding: 56px 0 64px; }
  .wd-body { padding: 40px 0 56px; }
}
