:root {
  --brand: #d7a307;
  --brand-dark: #b98900;
  --ink: #3d4147;
  --ink-soft: #64615b;
  --muted: #b6afa3;
  --paper: #ffffff;
  --paper-soft: #fbfbf9;
  --paper-deep: #f4efe3;
  --sand: #d8c3a4;
  --clay: #bd8760;
  --olive: #8a9070;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(68, 59, 42, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1290px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(103, 94, 76, 0.08);
  backdrop-filter: blur(12px);
}

.admin-bar .site-header {
  top: 32px;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 86px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
  font-weight: 800;
  justify-self: start;
}

.custom-logo {
  max-width: 320px;
  max-height: 74px;
  object-fit: contain;
}

.brand-mark {
  width: 38px;
  height: 24px;
  position: relative;
  display: inline-block;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px 0 auto;
  height: 2px;
  background: var(--brand);
  transform: rotate(28deg);
  box-shadow: 9px -8px 0 var(--brand), 18px 3px 0 var(--brand);
}

.brand-mark::after {
  transform: rotate(-28deg);
  box-shadow: 8px 8px 0 var(--brand), 20px -4px 0 var(--brand);
}

.brand-text {
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.primary-nav {
  display: block;
  justify-self: center;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(61, 65, 71, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 24px rgba(68, 59, 42, 0.08);
}

.nav-toggle span:not(.screen-reader-text) {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
  transition: 0.18s ease;
}

.primary-menu a:hover,
.primary-menu li:hover > a,
.primary-menu li:focus-within > a {
  color: var(--brand);
}

.menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 320px;
  margin: 0;
  padding: 18px 0;
  list-style: none;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sub-menu a {
  width: 100%;
  min-height: 40px;
  padding: 6px 28px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.sub-menu li:first-child a {
  color: var(--brand);
}

.sub-menu a:hover {
  color: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  transition: 0.18s ease;
}

.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(215, 163, 7, 0.24);
}

.header-cta {
  justify-self: end;
}

.button-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.button-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.button-outline:hover {
  background: rgba(215, 163, 7, 0.08);
}

.button-white {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.section-soft {
  background:
    radial-gradient(circle at 12% 14%, rgba(215, 163, 7, 0.04), transparent 20%),
    radial-gradient(circle at 88% 78%, rgba(138, 144, 112, 0.05), transparent 16%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
}

.hero {
  padding: 112px 0 100px;
}

.hero-grid,
.split-block,
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 72px;
}

.hero-copy h1,
.split-copy h2,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-copy p,
.split-copy p,
.why-copy p {
  color: var(--ink-soft);
  font-size: 21px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  min-height: 440px;
}

.section-illustration {
  width: min(100%, 620px);
  height: auto;
  margin-inline: auto;
}

.ia-automation-illustration {
  width: min(100%, 360px);
}

.ia-offer-banner {
  padding-bottom: 88px;
}

.ia-offer-intro-section {
  padding-top: 42px;
}

.ia-offer-intro-section .hero-visual {
  min-height: 360px;
  display: flex;
  align-items: flex-start;
}

.illo {
  position: relative;
  width: min(100%, 620px);
  height: 430px;
  margin-inline: auto;
}

.laptop {
  position: absolute;
  left: 25%;
  right: 6%;
  bottom: 38px;
  height: 210px;
  border: 24px solid #4c4d50;
  border-bottom-width: 44px;
  border-radius: 18px 18px 10px 10px;
  background: #f4dfd2;
}

.laptop::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 2px solid rgba(218, 168, 145, 0.5);
  border-radius: 14px;
}

.laptop::after {
  content: "";
  position: absolute;
  left: -54px;
  right: -54px;
  bottom: -70px;
  height: 26px;
  background: var(--brand);
  border-radius: 0 0 50px 50px;
}

.rocket {
  position: absolute;
  left: 52%;
  top: 8px;
  width: 92px;
  height: 250px;
  border-radius: 52% 52% 45% 45%;
  background: linear-gradient(var(--brand) 0 22%, #f8edd0 22% 72%, var(--brand) 72%);
  transform: translateX(-50%);
  z-index: 2;
}

.rocket::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 90px;
  width: 42px;
  height: 42px;
  border: 8px solid #7a715d;
  border-radius: 50%;
  background: #fff7df;
  transform: translateX(-50%);
}

.rocket::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -116px;
  width: 24px;
  height: 130px;
  background: linear-gradient(#ffffff, rgba(255, 255, 255, 0));
}

.person {
  position: absolute;
  left: 10%;
  bottom: 34px;
  width: 88px;
  height: 210px;
  border-radius: 48px 48px 10px 10px;
  background: linear-gradient(90deg, var(--brand) 0 48%, #2f3135 49%);
}

.person::before {
  content: "";
  position: absolute;
  left: 38px;
  top: -46px;
  width: 54px;
  height: 54px;
  border-radius: 50% 50% 42% 42%;
  background: #2f3135;
}

.bubble,
.message {
  position: absolute;
  border-radius: 8px;
  z-index: 3;
}

.bubble-love {
  left: 7%;
  top: 92px;
  width: 58px;
  height: 58px;
  background: var(--olive);
}

.bubble-love::before {
  content: "+";
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.bubble-like {
  right: 6%;
  top: 90px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--brand);
}

.bubble-like::before {
  content: "OK";
  display: grid;
  place-items: center;
  height: 100%;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.message-green {
  right: 0;
  bottom: 120px;
  width: 190px;
  height: 62px;
  background: var(--clay);
}

.message-green::before,
.message-green::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 20px;
  height: 3px;
  background: #fff;
  box-shadow: 0 15px 0 rgba(255, 255, 255, 0.85);
}

.illo-team,
.illo-security {
  background:
    radial-gradient(circle at 62% 20%, var(--sand) 0 42px, transparent 43px),
    linear-gradient(#f4dfd2 0 0) center 45% / 70% 52% no-repeat;
  border-bottom: 2px solid rgba(63, 67, 72, 0.45);
}

.illo-team::before,
.illo-security::before,
.illo-team::after,
.illo-security::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 84px;
  height: 210px;
  border-radius: 40px 40px 0 0;
  background: linear-gradient(var(--brand) 0 45%, #5a5d62 45%);
}

.illo-team::before,
.illo-security::before {
  left: 22%;
}

.illo-team::after,
.illo-security::after {
  right: 18%;
  background: linear-gradient(var(--clay) 0 45%, var(--brand) 45%);
}

.illo-security {
  background:
    radial-gradient(circle at 50% 52%, var(--olive) 0 90px, transparent 91px),
    linear-gradient(var(--brand) 0 0) center / 37% 86% no-repeat,
    radial-gradient(circle at 30% 50%, #f0d698 0 54px, transparent 55px);
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(32px, 3vw, 46px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.decor {
  position: absolute;
  pointer-events: none;
}

.decor-dots {
  width: 118px;
  height: 118px;
  left: 6%;
  top: 188px;
  background-image: radial-gradient(circle, rgba(215, 163, 7, 0.45) 2px, transparent 2px);
  background-size: 14px 14px;
}

.cards-grid {
  display: grid;
  gap: 28px;
}

.cards-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.cards-grid.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.case-card,
.reason-card,
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 340px;
  padding: 42px 32px;
  text-align: center;
}

.feature-card h3,
.case-card h3,
.reason-card h3,
.step h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.35;
}

.feature-card p,
.case-card p,
.reason-card p,
.step p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfaf5 0%, #ffffff 100%);
}

.feature-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.more {
  display: inline-flex;
  margin-top: 20px;
  font-weight: 900;
  color: var(--brand);
}

.feature-card .more,
.feature-card .more.tone-blue,
.feature-card .more.tone-yellow,
.feature-card .more.tone-green,
.feature-card .more.tone-red {
  color: var(--brand);
}

.more::after {
  content: "->";
  margin-left: 6px;
}

.tone-blue { color: var(--brand); }
.tone-yellow { color: #c78f00; }
.tone-green { color: var(--olive); }
.tone-red { color: var(--clay); }

.split-block {
  margin-top: 48px;
}

.split-block.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.split-block.reverse .split-copy {
  order: 2;
}

.split-copy h2 {
  font-size: clamp(32px, 3vw, 44px);
}

.split-copy p {
  font-size: 19px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.check-grid li {
  position: relative;
  padding-left: 30px;
  color: #58534f;
}

.check-grid li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f4ead1;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.why-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.lead {
  font-size: 24px !important;
}

.stacked-cards {
  display: grid;
  gap: 30px;
}

.reason-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: start;
  gap: 22px;
  padding: 34px 38px;
}

.reason-card:nth-child(2) {
  margin-left: 80px;
}

.reason-card:nth-child(3) {
  margin-left: 38px;
}

.reason-card > span,
.step > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f1ead8;
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.angled::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 90px;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 100% 36%, 0 100%);
}

.case-card {
  min-height: 280px;
  padding: 40px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.tags span {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f5ecd8;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ia-metrics-section {
  padding-top: 0;
}

.ia-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ia-metric-card,
.ia-scenario-card {
  padding: 28px 30px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ia-metric-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.ia-metric-card p,
.ia-scenario-card p {
  margin: 0;
  color: var(--ink-soft);
}

.ia-service-grid {
  align-items: stretch;
}

.service-detail-card {
  padding: 34px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ia-service-card {
  text-align: center;
}

.ia-service-card .feature-icon {
  margin: 0 auto 22px;
}

.service-detail-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.3;
}

.service-detail-card p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 48px;
  background: linear-gradient(180deg, #fcfaf5 0%, #ffffff 100%);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
}

.cta-panel p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.offer-top-banner {
  position: relative;
  padding: 84px 0 130px;
  overflow: hidden;
}

.offer-top-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 96px;
  background: var(--paper);
  clip-path: polygon(0 82%, 100% 0, 100% 100%, 0 100%);
}

.offer-top-banner__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.offer-top-banner__inner h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.12;
}

.offer-top-banner__inner p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 21px;
}

.offer-intro {
  align-items: center;
}

.offer-service-cards .feature-card {
  min-height: 330px;
}

.tech-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
}

.tech-column h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.15;
}

.tech-column p {
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: 19px;
}

.tech-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 18px;
}

.tech-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f4ead1;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 72px;
}

.use-case-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: start;
  gap: 20px;
}

.use-case-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f1ead8;
  color: var(--brand);
  font-size: 18px;
  font-weight: 800;
}

.use-case-item h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.use-case-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.ia-scenarios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ia-scenario-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}

.demo-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.demo-gallery-feature,
.demo-gallery-stack figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.demo-gallery-feature img,
.demo-gallery-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8f5ee;
}

.demo-gallery-feature {
  min-height: 520px;
}

.demo-gallery-stack {
  display: grid;
  gap: 28px;
}

.demo-gallery-stack figure {
  min-height: 246px;
}

.demo-gallery-caption {
  padding: 18px 22px;
}

.demo-gallery-caption h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.demo-gallery-caption p {
  margin: 0;
  color: var(--ink-soft);
}

.demo-gallery-more {
  margin-top: 34px;
  text-align: center;
}

.demo-gallery-details {
  display: block;
}

.demo-gallery-toggle {
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.demo-gallery-toggle::-webkit-details-marker {
  display: none;
}

.summary-close,
.demo-gallery-details[open] .summary-open {
  display: none;
}

.demo-gallery-details[open] .summary-close {
  display: inline;
}

.demo-gallery-panel {
  margin-top: 42px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.demo-gallery-details[open] .demo-gallery-panel {
  opacity: 1;
  transform: translateY(0);
}

.demo-gallery-panel-heading {
  margin-bottom: 34px;
}

.demo-gallery-panel-heading h2 {
  font-size: clamp(28px, 2.4vw, 38px);
}

.demo-gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.demo-gallery-full-grid figure {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.demo-gallery-full-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8f5ee;
  transition: transform 0.22s ease;
}

.demo-gallery-full-grid figure:hover img {
  transform: scale(1.03);
}

.contact-section {
  padding-top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 72px;
  align-items: start;
}

.contact-form-panel {
  padding: 42px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(100, 97, 91, 0.16);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form input,
.contact-form select {
  min-height: 54px;
  padding: 0 18px;
}

.contact-form textarea {
  min-height: 160px;
  padding: 16px 18px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(215, 163, 7, 0.1);
}

.contact-form .button {
  justify-self: start;
  cursor: pointer;
}

.contact-required {
  margin: -4px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-notice {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 700;
}

.contact-notice-success {
  background: #f1ead8;
  color: var(--brand-dark);
}

.contact-notice-error {
  background: #fbede8;
  color: #9b4d34;
}

.contact-info-panel {
  display: grid;
  gap: 28px;
  padding-top: 8px;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.contact-info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1ead8;
  color: var(--brand);
  font-size: 17px;
  font-weight: 900;
}

.contact-info-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contact-info-item h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.3;
}

.contact-info-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.contact-info-item a {
  color: inherit;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px;
  text-align: center;
}

.steps::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: #e9e1cf;
}

.step {
  position: relative;
  z-index: 1;
}

.step > span {
  margin: 0 auto 24px;
  background: var(--brand);
  color: var(--white);
}

.step:first-child > span {
  background: #f1ead8;
  color: var(--brand);
}

.site-footer {
  padding: 98px 0 80px;
  background: #3d4045;
  color: #ece5d7;
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-cta h2 {
  max-width: 620px;
  margin: 0;
  color: var(--white);
  font-size: clamp(31px, 3vw, 42px);
  line-height: 1.28;
}

.footer-clients {
  padding: 42px 0 0;
}

.footer-clients p {
  margin: 0 0 18px;
  color: rgba(236, 229, 215, 0.7);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-client-logos {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.footer-client-logo {
  display: grid;
  place-items: center;
  height: 82px;
  padding: 16px 18px;
  border: 1px solid rgba(236, 229, 215, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.footer-client-logo img {
  display: block;
  width: 100%;
  max-width: 132px;
  max-height: 44px;
  object-fit: contain;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 62px;
  padding-top: 62px;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 20px;
}

.site-footer address {
  margin: 0 0 18px;
  font-style: normal;
}

.site-footer a {
  display: table;
  margin-bottom: 8px;
}

.brand-footer {
  margin-bottom: 32px;
  color: var(--white);
}

.footer-logo {
  width: 220px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  width: auto;
  min-height: 42px;
  padding: 10px 14px;
  margin-top: 26px;
  border: 1px solid rgba(215, 163, 7, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5ead0;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(76%) sepia(69%) saturate(1836%) hue-rotate(3deg) brightness(90%) contrast(95%);
}

.social-link:hover {
  border-color: var(--brand);
  background: rgba(215, 163, 7, 0.13);
  transform: translateY(-1px);
}

.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 40;
  width: 48px;
  height: 48px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.page-content h1,
.single-content h1,
.archive h1 {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.15;
}

.entry-content {
  color: #58534f;
}

.post-list {
  display: grid;
  gap: 24px;
}

.post-card {
  padding: 30px;
}

@media (max-width: 1120px) {
  .header-inner {
    gap: 18px;
  }

  .primary-menu {
    gap: 20px;
  }

  .cards-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-grid.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    width: 100%;
    padding: 18px 20px 22px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(103, 94, 76, 0.1);
    box-shadow: 0 24px 44px rgba(68, 59, 42, 0.12);
    backdrop-filter: blur(12px);
  }

  .primary-nav.is-open {
    display: block;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    position: relative;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-menu {
    display: grid;
    gap: 4px;
  }

  .primary-menu a {
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
  }

  .sub-menu {
    position: static;
    min-width: 0;
    padding: 4px 0 10px 14px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .sub-menu a {
    min-height: 38px;
    padding: 4px 0;
    color: var(--ink-soft);
  }

  .hero-grid,
  .split-block,
  .split-block.reverse,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split-block.reverse .split-copy {
    order: 0;
  }

  .hero {
    padding: 70px 0;
  }

  .section {
    padding: 70px 0;
  }

  .hero-visual {
    min-height: 320px;
  }

  .cards-grid.three,
  .service-grid,
  .ia-metrics-grid,
    .ia-scenarios-grid,
    .demo-gallery-grid,
    .demo-gallery-full-grid,
    .contact-grid,
    .use-case-grid,
    .tech-columns,
    .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-client-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps::before {
    display: none;
  }

  .reason-card:nth-child(2),
  .reason-card:nth-child(3) {
    margin-left: 0;
  }

  .footer-cta {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1290px);
  }

  .custom-logo {
    max-width: 220px;
  }

  .hero-copy h1,
  .split-copy h2,
  .section-heading h2 {
    font-size: 34px;
  }

  .hero-copy p,
  .split-copy p,
  .why-copy p,
  .lead {
    font-size: 18px !important;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .contact-form-panel {
    padding: 28px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-form .button {
    justify-self: stretch;
  }

  .cards-grid.four,
  .cards-grid.five,
  .cards-grid.six,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .demo-gallery-feature,
  .demo-gallery-stack figure {
    min-height: 260px;
  }

  .feature-card,
  .case-card,
  .reason-card {
    padding: 28px;
  }

  .reason-card {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 34px;
    text-align: center;
  }

  .footer-brand,
  .footer-grid > div {
    display: grid;
    justify-items: center;
  }

  .brand-footer {
    justify-self: center;
  }

  .site-footer a {
    display: inline-flex;
    justify-content: center;
  }

  .social-link {
    margin-inline: auto;
  }

  .footer-client-logos {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}
