/* ===========================================================
   Inflectiv Digital — site stylesheet
   Brand: inflection arrow, lowercase wordmark, single Google blue, Inter
   =========================================================== */

:root {
  /* Color tokens */
  --ink:        #202124;
  --ink-2:      #5F6368;
  --ink-3:      #80868B;
  --line:       #E8EAED;
  --line-2:     #DADCE0;
  --surface:    #FFFFFF;
  --subtle:     #F8F9FA;
  --subtle-2:   #F1F3F4;
  --blue:       #4285F4;
  --blue-deep:  #1A73E8;
  --blue-soft:  #E8F0FE;
  --green:      #34A853;
  --green-soft: #E6F4EA;
  --shadow-sm:  0 1px 2px rgba(60,64,67,0.06), 0 1px 3px rgba(60,64,67,0.10);
  --shadow-md:  0 2px 6px rgba(60,64,67,0.10), 0 8px 24px rgba(60,64,67,0.08);
  --shadow-lg:  0 10px 30px rgba(60,64,67,0.10), 0 30px 60px rgba(60,64,67,0.12);

  /* Type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --pad-x: 28px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 17px 30px; font-size: 17px; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 2px rgba(66,133,244,0.20), 0 4px 12px rgba(66,133,244,0.18);
}
.btn-primary:hover {
  background: var(--blue-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(66,133,244,0.24), 0 8px 18px rgba(66,133,244,0.22);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--ink-3);
  background: var(--subtle);
  color: var(--ink);
}

/* ===========================================================
   Nav
   =========================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad-x);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-word {
  display: inline-flex;
  flex-direction: column;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.4px;
  line-height: 1;
}
.brand-word span {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--ink-2);
  margin-top: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .btn-primary { color: #fff; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(circle at 20% -10%, rgba(66,133,244,0.10), transparent 50%),
    radial-gradient(circle at 90% 10%,  rgba(52,168,83,0.06),  transparent 45%),
    var(--surface);
  text-align: center;
  overflow: hidden;
}
.hero .container { max-width: 920px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(66,133,244,0.18);
}

.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1.04;
  margin: 22px auto 18px;
  max-width: 880px;
  color: var(--ink);
}
.hero-title-em {
  color: var(--blue);
  background: linear-gradient(180deg, var(--blue), var(--blue-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 auto 32px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* LSA pseudo card visual */
.lsa-card {
  margin: 56px auto 0;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: left;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.lsa-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--subtle);
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.lsa-tag {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.4px;
  margin: 0 4px 8px;
}
.lsa-result {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.lsa-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.lsa-body { flex: 1; min-width: 0; }
.lsa-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  flex-wrap: wrap;
}
.lsa-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #137333;
  background: var(--green-soft);
  padding: 3px 8px;
  border-radius: 999px;
}
.lsa-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--ink-2);
  margin: 6px 0 12px;
}
.lsa-stars { color: #F9AB00; letter-spacing: 1px; }
.lsa-dot { color: var(--ink-3); }
.lsa-actions { display: flex; gap: 8px; }
.lsa-action {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.lsa-action-ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

/* ===========================================================
   Strip — industries
   =========================================================== */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--subtle);
  padding: 20px 0;
}
.strip-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.strip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.strip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.strip-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ===========================================================
   Section base
   =========================================================== */
.section {
  padding: 96px 0;
}
.section-subtle { background: var(--subtle); }

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 14px;
  line-height: 1.12;
}
.section-head .lede {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.55;
}

/* ===========================================================
   Cards (services)
   =========================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-2);
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
}
.card p {
  color: var(--ink-2);
  margin: 0 0 18px;
  font-size: 16px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.45;
}
.check-list li:last-child { margin-bottom: 0; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 16px; height: 16px;
  border-radius: 999px;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path d='m4 8 3 3 5-6' stroke='%2334A853' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* ===========================================================
   Steps
   =========================================================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(66,133,244,0.25);
}
.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.4px;
}
.step p {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0;
  line-height: 1.5;
}

/* ===========================================================
   Industries grid
   =========================================================== */
.industry-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.industry {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.industry:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.industry svg {
  width: 32px; height: 32px;
}
.industry-note {
  margin: 36px auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--ink-2);
}

/* ===========================================================
   Why us
   =========================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.why-item h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--blue);
  display: inline-block;
}
.why-item p {
  color: var(--ink-2);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ===========================================================
   CTA block
   =========================================================== */
.cta-block {
  padding: 100px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(66,133,244,0.16), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--subtle));
}
.cta-inner {
  text-align: center;
  max-width: 720px;
}
.cta-block h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 18px;
}
.cta-block p {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 auto 32px;
  max-width: 580px;
}
.cta-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
}

/* ===========================================================
   Footer
   =========================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 42px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.3px;
}
.footer-brand strong {
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--ink-2);
  margin-left: 4px;
}
.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.footer-links a {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 14px;
}
.footer-links a:hover { color: var(--ink); }
.footer-meta {
  font-size: 12px;
  color: var(--ink-3);
  text-align: right;
}

/* ===========================================================
   Scroll-fade animation
   =========================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 22px; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 56px; }
}

@media (max-width: 720px) {
  :root { --pad-x: 20px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--pad-x) 22px;
    gap: 14px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .nav-links a { padding: 6px 0; }
  .nav-links .btn-primary { align-self: flex-start; }
  .nav.is-open .nav-links {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }

  .hero { padding: 48px 0 44px; }
  .hero-title { letter-spacing: -1.2px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 18px;
  }
  .footer-meta { text-align: center; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .strip-inner { gap: 14px; }
  .strip-list { gap: 6px 16px; justify-content: center; }
  .lsa-card { padding: 14px; }
  .lsa-result { padding: 12px; gap: 10px; }
  .lsa-avatar { width: 38px; height: 38px; font-size: 14px; }
}
