.features img {
  height: auto;
}

.about-hero__inner {
  padding: 120px 1rem 0px 1rem;
}

.three-steps .about-delivery__row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-delivery__mobile-steps::before {
  left: -1px;
}

.about-delivery__mobile-step {
  padding: 0 0 82px;
}

.about-delivery__mobile-body .about-delivery__step-label {
  background: #055e98;
  color: #fff;
  padding: 6px 12px;
  width: fit-content;
  margin-bottom: 20px;
  border-radius: 8px;
}

.about-delivery__mobile-body p {
  font-size: 16px;
}

.blog-detail-cta__description {
  max-width: 800px;
}

.site-footer__accordion-content {
  display: flex;
  flex-direction: row;
  gap: 32px;
}

.text-start {
  text-align: start;
}

ul.hero-ul {
  list-style: none;
  font-size: 16px;
  text-align: left;
  padding-left: 0;
}

ul.hero-ul svg {
  width: 18px;
  height: 18px;
  stroke: #000;
  flex-shrink: 0;
}

ul.hero-ul li {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}

ul.hero-ul-img li {
  flex: 0 1 33%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f7f7f7;
}

ul.hero-ul.hero-ul-img {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 42px;
}

ul.hero-ul.hero-ul-img img,
ul.hero-ul.hero-ul-img svg {
  width: 120px;
  height: 70px;
  object-fit: contain;
}

.svc-faq-split__title {
  height: stretch;
}

section.about-delivery {
  background-color: #f7f7f7;
}

.book-automation .blog-detail-cta__inner {
  background: #11273f;
  border-radius: 14px;
  padding: 32px;
  width: 60%;
  margin: 0 auto;
}

.max-w .blog-detail-cta__description {
  max-width: 520px;
}

.max-w .blog-detail-cta__inner {
  gap: 0;
}

.book-automation.blog-detail-cta {
  background: transparent;
}

.faq-max .faq-max-w {
  width: 50%;
}

.blog-detail-section__text {
  margin: 16px 0;
}

.faq-max .svc-faq-split__wrap {
  align-items: flex-start;
}

hr.faq-hr {
  max-width: 80%;
}

.blog-detail-faq {
  background: #f7f7f7;
}

p.hero-p {
  font-size: 16px;
  font-weight: 400;
  max-width: 620px;
  margin: 24px auto;
}

/* ---- Hero lead form ---- */
.hero-form-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 34px 30px;
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.5);
}

.hero-form-card h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 24px;
  margin-top: 0px;
}

.hero-form-card .form-sub {
  font-size: 13.5px;
  color: #a9b6c9;
  margin-bottom: 24px;
  line-height: 1.5;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-bottom: 6px;
  text-align: left;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #f7f7f7;
  /* color: #fff; */
  color: #000;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #7f8ca0;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan-400);
  background: rgb(237 237 237);
  color: #000;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media(max-width:420px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field textarea {
  resize: none;
  min-height: 76px;
  font-family: 'Inter', sans-serif;
}

.hero-form-card .btn {
  width: 100%;
  margin-top: 6px;
  background: #055e98;
  color: #fff;
}

.form-disclaimer {
  font-size: 14px;
  color: #6b7a90;
  margin-top: 24px;
  line-height: 1.5;
  text-align: center;
}

@media(max-width: 768px) {
  .site-footer__accordion-content {
    flex-direction: column;
    gap: 0;
  }

  .site-footer__accordion-content p {
    margin: 10px 0;
  }

  .blog-detail-cta__description {
    max-width: 580px;
  }

  .about-delivery__mobile-steps::before {
    left: 8px;
  }

  ul.hero-ul-img li {
    flex: 0 1 calc(50% - 6px);
  }

  .hero-form-card {
    padding: 34px 16px;
  }

  .hero-form-card h3 {
    font-size: 22px;
  }

  .svc-faq-split__wrap {
    gap: 12px;
  }

  .blog-detail-faq__inner {
    gap: 0px;
  }

  .faq-max .faq-max-w {
    width: 100%;
  }

  .about-delivery__mobile-step {
    padding: 0 0 32px;
  }

  .book-automation .blog-detail-cta__inner {
    width: 100%;
  }
}

@media(max-width: 767px) {
  .about-delivery__mobile-steps::before {
    left: 3px;
  }
}

.btn {
  border-radius: 0.60rem;
}

.btn--primary:hover {
  background: #FFFFFF;
  /* color: #000000; */
}

.chroma-text {
  background: linear-gradient(90deg, currentColor 0%, currentColor 60%, #71747482 70%, #0e1719 80%, #111212 90%, transparent 100%);
  background-size: 300% 100%;
  background-position: 150% 0;
  will-change: background-position;
  -webkit-background-clip: text;
  background-clip: text;
  background-repeat: no-repeat;
  -webkit-text-fill-color: transparent;
}

.ai-automation-hero__title {
  font-size: 56px !important;
  max-width: 1200px;
}

.about-hero {
  background: #F7F7F7;
  border-bottom: 1px solid rgba(9, 9, 11, 0.08);
  padding-bottom: 60px;
}

.trusted_badge_button {
  /* width: 280px; */
  width: max-content;
  height: 48px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #055e98;
  border-radius: 8px;
  padding: 12px 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
}

.small-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}

body {
  background: #F7F7F7;
}

.image-section {
  /* height: 90vh; */
  position: relative;
  overflow: hidden;
  background: #F7F7F7;
  margin-top: 60px;
}

.image-box {
  width: 80%;
  left: 50%;
  top: 0;
  will-change: width;
  margin: 0 auto;
  position: unset;
  transform: unset;
  }

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* Divyesh CSS */
header.site-header {
  border-bottom: 1px solid #09090b14;
  background: #F7F7F7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Geist";
}

.ai-automation-hero__title {
  font-family: "Geist";
  letter-spacing: -3.6px;
  font-size: 64px !important;
  max-width: 1120px !important;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
}

.opacity-5 {
  opacity: 0.5;
}

a.trusted_badge_button.f-btn {
  background: transparent;
  color: #055e98;
  opacity: 1;
  padding: 0;
  display: contents;
  font-size: 18px;
  font-weight: 700;
  pointer-events: none;
}

a.btn.btn--primary.site-header__cta.btn--text-animated {
  background: #055e98;
}

a.btn.btn--primary.site-header__cta.btn--text-animated:hover {
  color: #fff;
}

/* Logo Section */
/* =========================================================
   Wisdom Square — landing page
   1. Tokens      4. Sections
   2. Base        5. Footer
   3. Components  6. Animation + responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #055e98;
  --blue-dark: #044b7a;
  --ink: #09090b;
  --muted: #39393d;
  --bg: #f7f7f7;
  --card: #fff;
  --line: rgba(9, 9, 11, .08);
  --line-strong: rgba(9, 9, 11, .12);

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;

  --wrap: 1160px;
  --gap: 24px;
  --section-y: 60px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Geist", "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -.06em;
}

h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

h3 {
  font-size: clamp(20px, 2vw, 32px);
  letter-spacing: -.03em;
}

h4 {
  font-size: 14px;
  letter-spacing: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.center {
  text-align: center;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  border-radius: var(--r-sm);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ---------- 3. Components ---------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .0s var(--ease), transform .0s var(--ease);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  border-color: rgba(9, 9, 11, .1);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 15px;
}

.btn--block {
  width: 100%;
  padding: 14px;
}

.btn[disabled] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.03em;
  width: fit-content;
}

.pill--solid {
  background: var(--blue);
  border-color: transparent;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  padding: 6px 16px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
  flex: none;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 500;
}

.label svg,
.label svg path {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
}

/* .link-arrow::after {
  content: "→";
  transition: transform .25s var(--ease);
} */

.link-arrow:hover span {
  transform: translateX(4px);
}

.eyebrow {
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* background: rgba(247, 247, 247, .85); */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo img {
  height: 23px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  gap: 24px;
}

.nav__link {
  position: relative;
  font-size: 14px;
  padding-block: 4px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 3px auto;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ---------- 4. Sections ---------- */
.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: 60px;
}

section#contact {
  padding-top: 120px;
  padding-bottom: 120px;
  background: #fff;
}

.section--cta {
  background: #fff;
  padding: 60px 15px;
}

.wrap hr {
  opacity: 0.3;
}

.section--cta .section__lede {
  margin: 24px auto;
}

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 56px;
}

.section__head h2 {
  max-width: 780px;
}

.section__lede {
  max-width: 62ch;
  color: var(--muted);
}

.section__head .section__lede {
  opacity: .85;
}

/* Hero */
.hero {
  padding-top: 72px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.hero__title {
  max-width: 1000px;
}

.hero__lede {
  max-width: 70ch;
  color: var(--muted);
}

.hero__media {
  margin: 40px 0 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px -30px rgba(9, 9, 11, .25);
}

/* Brands */
.rated {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 52px;
  font-family: var(--font-display);
  font-size: 20px;
}

.rated img {
  height: 56px;
  width: auto;
  object-fit: cover;
}

.rated__contain {
  object-fit: contain;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--card);
}

.logo-grid li {
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.logo-grid li:nth-child(4n) {
  border-right: 0;
}

.logo-grid li:nth-last-child(-n+4) {
  border-bottom: 0;
}

.logo-grid img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.border-tb {
  border-top: 1px solid rgba(9, 9, 11, 0.08);
  border-bottom: 1px solid rgba(9, 9, 11, 0.08);
}

/* Features */
.features {
  display: grid;
  gap: var(--gap);
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px;
  background: var(--bg-color, transparent);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.feature--reverse .feature__media {
  order: 2;
}

.feature__media {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

.feature__media--pad {
  background: #f2f4f8;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature__body p:last-child {
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 0px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 24px;
}

.step--reverse .step__media {
  order: 3;
}

.step--reverse .step__marker {
  order: 2;
}

.step--reverse .step__body {
  order: 1;
}

.step__media {
  margin: 0 0 72px 0;
  border-radius: var(--r-md);
  overflow: hidden;
}

/* .steps li:nth-child(odd) .step__media {
    margin: 0 0 72px auto;
} */

.step__media img {
  width: 430px;
  height: 295px;
  object-fit: cover;
  border-radius: 28px;
}

.step__marker {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  align-items: start;
}

/* vertical connector line */
.step__marker::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line-strong);
}

.step--last .step__marker::before {
  /* bottom: 50%; */
  bottom: 80%;
}

.step:first-child .step__marker::before {
  /* top: 50%; */
  top: 0;
  bottom: 0;
}

.step__marker span {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.05em;
  top: 40px;
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  top: 60px;
  position: relative;
}

.step__body p {
  color: var(--muted);
}

/* Technology */
.tech {
  display: grid;
  /* gap: var(--gap); */
}

.tech__row {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  align-items: stretch;
  height: 255px;
  border: 1px solid rgba(9, 9, 11, 0.08);
}

.tech__row:nth-child(even) {
  background: #ffffff;
}

.tech__label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  text-align: center;
  border-right: 1px solid rgba(9, 9, 11, 0.08);
}

.tech__label h3 {
  color: var(--blue);
  font-size: 24px;
  letter-spacing: -.04em;
}

.tech__label p {
  font-size: 18px;
  font-weight: 500;
}

.tech__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  align-items: center;
  padding: 12px;
}

.tech__logos li {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  height: 140px;
}

.tech__logos li:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px -16px rgba(9, 9, 11, .3);
}

.tech__logos img {
  max-height: 100px;
  width: auto;
  object-fit: contain;
}

/* Case studies */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 48px;
}

.case {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
}

.case h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.7;
}

.case__date {
  font-size: 14px;
  color: var(--muted);
}

.case__media {
  margin: 0;
  /* border-radius: var(--r-md); */
  overflow: hidden;
}

.case__media img {
  width: 100%;
  height: 264px;
  object-fit: cover;
  margin-top: 24px;
}

article.case .pill {
  background: transparent;
  border: unset;
  padding-left: 0;
}

article.case .link-arrow {
  margin: 24px auto;
  font-family: 'Geist';
  font-size: 16px;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
  padding-top: 60px;
  padding-bottom: 60px;
}

.faq__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.faq__intro .pill {
  background: transparent;
  border: unset;
  padding-left: 0;
}

.faq__intro h2 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.04em;
}

.faq__intro .section__lede {
  color: #666;
}

.faq__intro .btn--primary {
  padding: 16px 24px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.acc {
  background: #f5f5f5;
  border: 1px solid rgba(30, 13, 1, .12);
  border-radius: var(--r-md);
  overflow: hidden;
}

.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  color: #1e0d01;
  text-align: left;
  cursor: pointer;
}

.acc__icon {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(30, 13, 1, .6);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(180deg);
  transition: transform .3s var(--ease);
}

.acc__q[aria-expanded="true"] .acc__icon {
  transform: rotate(0deg);
}

.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}

.acc__q[aria-expanded="true"]+.acc__a {
  grid-template-rows: 1fr;
}

.acc__a>p {
  overflow: hidden;
  padding-inline: 24px;
  color: rgba(30, 13, 1, .6);
  line-height: 1.5;
}

.acc__q[aria-expanded="true"]+.acc__a>p {
  padding-bottom: 22px;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stars {
  display: flex;
  gap: 4px;
  margin: 12px 0;
}

.stars svg {
  width: 26px;
  height: 26px;
  fill: #fbbf24;
}

.quote blockquote {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote__by img {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
}

.quote__by span {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
}

.quote__by strong {
  font-size: 14px;
  color: var(--ink);
}

/* Form */
.form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.field>span,
.field>legend {
  padding: 0;
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9a9aa0;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(5, 94, 152, .12);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #d14343;
}

.zones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.zones label {
  position: relative;
}

.zones input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.zones span {
  display: grid;
  place-items: center;
  padding: 12px 0;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  transition: all .2s var(--ease);
}

.zones input:checked+span {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form__status {
  font-size: 14px;
  min-height: 1.2em;
}

.form__status.is-ok {
  color: #1a7f45;
}

.form__status.is-error {
  color: #d14343;
}

/* ---------- 5. Footer ---------- */
.site-footer {
  /* border-top: 1px solid var(--line); */
  padding-block: 56px 28px;
}

.footer__inner {
  display: grid;
  gap: 40px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--gap);
}

.footer__col h4 {
  margin-bottom: 14px;
  opacity: .4;
  font-weight: 500;
}

.footer__col li+li {
  margin-top: 8px;
}

.footer__col a {
  font-size: 14px;
}

.footer__col a:hover {
  color: var(--blue);
}

.footer__badges {
  display: flex;
  gap: 12px;
}

.footer__badges img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer__legal {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 14px;
}

/* ---------- 6. Animation ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

[data-animate="drop"] {
  transform: translateY(-24px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* per-word hero reveal, spans injected by JS */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  animation: word-in .8s var(--ease) forwards;
  animation-delay: calc(var(--i) * 45ms + 150ms);
}

.wrap .pill {
  background: transparent;
  border: unset;
  padding-left: 0;
}

@keyframes word-in {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-animate],
  .word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  :root {
    --section-y: 72px;
  }

  .feature,
  .contact,
  .faq {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature--reverse .feature__media {
    order: 0;
  }

  .tech__row {
    grid-template-columns: 1fr;
  }

  .tech__logos {
    grid-template-columns: repeat(4, 1fr);
  }

  .cases {
    grid-template-columns: 1fr;
  }

  .footer__cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --section-y: 56px;
  }

  .nav__list {
    position: absolute;
    inset: 68px 0 auto;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__list a {
    display: block;
    padding: 12px 0;
  }

  .nav__toggle {
    display: block;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid li:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .logo-grid li:nth-child(2n) {
    border-right: 0;
  }

  .logo-grid li:nth-last-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .logo-grid li:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .tech__logos {
    grid-template-columns: repeat(2, 1fr);
  }

  /* steps collapse to a single column, marker moves inline */
  .step,
  .step--reverse {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step>* {
    order: 0 !important;
  }

  .step__marker {
    justify-items: start;
  }

  .step__marker::before {
    display: none;
  }

  .feature {
    padding: 20px;
  }

  .form {
    padding: 22px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .zones {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .rated {
    flex-wrap: wrap;
    font-size: 16px;
  }
}

@media(max-width: 768px) {
  .site-logo {
    max-width: calc(80% - 3.5rem);
  }

  a.btn.btn--primary.site-header__cta.btn--text-animated {
    display: none;
  }

  .about-hero__inner {
    padding: 60px 1rem 0px 1rem;
  }

  a.trusted_badge_button.f-btn {
    font-size: 14px;
  }

  a.trusted_badge_button.f-btn .btn__text-track {
    max-width: 70%;
  }

  .ai-automation-hero__title {
    letter-spacing: normal;
    font-size: 24px !important;
  }

  .image-section {
    height: 100%;
  }

  .image-box {
    width: 90% !important;
    margin: 0 auto;
    position: unset;
    transform: unset;
  }

  .rated strong:first-child {
    width: 100%;
    text-align: center;
  }

  .features img {
    height: auto;
  }

  .steps {
    gap: 42px;
  }

  .step__media img {
    height: auto;
  }

  .step__media {
    margin: 0 0 0 0;
  }

  .step__marker span {
    top: 0;
  }

  .step__body {
    top: 0px;
  }

  section#contact {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero-form-card {
    box-shadow: unset;
    border: 1px solid rgb(0 0 0 / 12%);
  }

  .tech {
    gap: var(--gap);
  }

  .tech__row {
    height: auto;
  }

  .tech__label {
    border-right: none;
    border-bottom: 1px solid rgba(9, 9, 11, 0.08);
  }

  .case__media img {
    height: 200px;
    margin-top: 16px;
  }

  .cases {
    gap: var(--gap);
  }

  .faq {
    padding-bottom: 0px;
  }
  .logo-grid li {
    min-height: 80px;
    padding: 12px;
  }
  .section--tight {
    padding-block: 0px;
  }
}