:root {
  --green: #0b5d3b;
  --green-dark: #06452b;
  --navy: #111827;
  --navy-soft: #1f2937;
  --violet: #6d28d9;
  --violet-soft: #f3e8ff;
  --blue: #2563eb;
  --bg: #f8fafc;
  --white: #ffffff;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --success-soft: #eaf7ef;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 14px 36px rgba(15, 23, 42, 0.06);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background:
    radial-gradient(circle at 8% 0%, rgba(11, 93, 59, 0.08), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(109, 40, 217, 0.08), transparent 26%),
    var(--bg);
  font-family: Aptos, "Segoe UI", Candara, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 93, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 93, 59, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 68%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(109, 40, 217, 0.35);
}

section[id] {
  scroll-margin-top: 100px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header .container {
  width: min(calc(100% - 40px), 1320px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
  height: 58px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  min-width: 0;
}

.site-nav a {
  padding: 9px 8px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover {
  color: var(--navy);
  background: rgba(11, 93, 59, 0.07);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}

.social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  color: var(--violet);
  border-color: rgba(109, 40, 217, 0.28);
  background: var(--white);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 16px 30px rgba(11, 93, 59, 0.18);
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(11, 93, 59, 0.24);
}

.btn-small {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
  font-size: 0.92rem;
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.btn-violet {
  background: linear-gradient(135deg, var(--violet), #4c1d95);
  box-shadow: 0 16px 30px rgba(109, 40, 217, 0.17);
}

.section {
  padding: 92px 0;
}

.section-shell {
  padding: 78px 0 74px;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(243, 232, 255, 0.34));
}

.section-image {
  background: var(--white);
}

.hero-grid,
.solution-grid,
.why-grid,
.ai-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 54px;
  align-items: center;
}

.hero-grid > *,
.solution-grid > *,
.why-grid > *,
.ai-grid > *,
.about-grid > *,
.contact-grid > * {
  min-width: 0;
}

.hero-copy h1,
.section-heading h2,
.why-content h2,
.ai-grid h2,
.about-grid h2,
.contact-copy h2 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero-copy h1 {
  max-width: 780px;
}

.hero-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(11, 93, 59, 0.09);
}

.eyebrow-violet {
  color: #4c1d95;
}

.eyebrow-violet::before {
  background: var(--violet);
  box-shadow: 0 0 0 7px rgba(109, 40, 217, 0.12);
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-proof div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.hero-proof dt {
  color: var(--green);
  font-size: 1.28rem;
  font-weight: 900;
}

.hero-proof dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual > picture,
.hero-visual > picture img {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.hero-visual > picture img {
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.1) 48%, rgba(17, 24, 39, 0.1) 100%),
    radial-gradient(circle at 78% 22%, rgba(109, 40, 217, 0.18), transparent 25%);
}

.hero-visual-brand {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  width: 212px;
  padding: 10px 12px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-visual-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.kpi-card {
  position: absolute;
  z-index: 2;
  width: min(270px, calc(100% - 44px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.82);
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.22);
  backdrop-filter: blur(12px);
}

.kpi-card span {
  display: block;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
}

.kpi-card strong {
  display: block;
  margin-top: 4px;
  font-size: 1.02rem;
  line-height: 1.3;
}

.kpi-card-one {
  right: 24px;
  top: 38px;
}

.kpi-card-two {
  left: 24px;
  bottom: 24px;
  border-color: rgba(109, 40, 217, 0.34);
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.88), rgba(76, 29, 149, 0.78));
}

.trust-bar {
  padding: 20px 0;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.trust-grid div {
  position: relative;
  padding-left: 20px;
  color: var(--navy);
  font-weight: 850;
}

.trust-grid div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading h2,
.why-content h2,
.ai-grid h2,
.about-grid h2,
.contact-copy h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

.section-heading p:not(.eyebrow),
.why-content p,
.ai-grid p,
.about-grid p,
.contact-copy p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.problem-grid,
.service-grid,
.use-case-grid,
.project-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

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

.problem-card,
.service-card,
.use-case,
.project-card {
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.problem-card:hover,
.service-card:hover,
.use-case:hover,
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 93, 59, 0.28);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.09);
}

.problem-card span,
.service-icon,
.step-list article span,
.timeline article span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--green-dark);
  background: var(--success-soft);
  font-size: 0.84rem;
  font-weight: 950;
}

.problem-card h3,
.service-card h3,
.use-case h3,
.project-card h3,
.step-list h3,
.timeline h3,
.contact-form-card h3,
.about-card h3 {
  margin: 16px 0 0;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.problem-card p,
.service-card p,
.use-case p,
.step-list p,
.timeline p,
.contact-form-card p {
  margin: 9px 0 0;
  color: var(--muted);
}

.solution-grid {
  align-items: start;
}

.flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.flow div {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--navy);
  background: var(--white);
  font-weight: 900;
}

.flow span {
  color: var(--violet);
  font-weight: 950;
}

.solution-note {
  margin: 22px 0 0;
  padding: 18px 20px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(37, 99, 235, 0.06));
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
}

.step-list h3 {
  margin-top: 0;
}

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

.service-card {
  min-height: 218px;
}

.service-ai {
  border-color: rgba(109, 40, 217, 0.24);
  background:
    linear-gradient(145deg, rgba(243, 232, 255, 0.75), rgba(255, 255, 255, 0.92));
}

.service-ai .service-icon {
  color: #4c1d95;
  background: var(--violet-soft);
}

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

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

.project-visual {
  display: grid;
  min-height: 150px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(11, 93, 59, 0.88), rgba(17, 24, 39, 0.9)),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 24px 24px;
}

.project-visual.violet {
  background:
    linear-gradient(135deg, rgba(109, 40, 217, 0.88), rgba(17, 24, 39, 0.9)),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 24px 24px;
}

.project-visual.navy {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(11, 93, 59, 0.82)),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 24px 24px;
}

.project-card:nth-child(1) .project-visual {
  background:
    linear-gradient(135deg, rgba(11, 93, 59, 0.9), rgba(37, 99, 235, 0.72)),
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px) 0 0 / 24px 24px;
}

.project-visual span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.project-card dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.project-card dt {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 950;
}

.project-card dd {
  margin: 3px 0 0;
  color: var(--muted);
}

.why-grid {
  grid-template-columns: 0.92fr 1fr;
}

.why-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.why-image img {
  width: 100%;
  min-height: 460px;
  object-fit: cover;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.reason-list span {
  position: relative;
  padding: 15px 16px 15px 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 780;
}

.reason-list span::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 22px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.ai-section {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(109, 40, 217, 0.38), transparent 28%),
    linear-gradient(135deg, #111827 0%, #13251f 48%, #26134b 100%);
}

.ai-section .eyebrow,
.ai-section h2,
.ai-section p {
  color: var(--white);
}

.ai-section p {
  color: #dbe4ee;
}

.ai-list {
  display: grid;
  gap: 12px;
}

.ai-list article {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.timeline article span {
  width: 38px;
  height: 38px;
}

.about-grid {
  align-items: start;
}

.about-card {
  padding: 28px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--navy);
  font-weight: 780;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.contact-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(11, 93, 59, 0.09), transparent 26%),
    radial-gradient(circle at 90% 35%, rgba(109, 40, 217, 0.1), transparent 24%),
    var(--white);
}

.contact-grid {
  align-items: start;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.contact-details a {
  display: grid;
  gap: 3px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-soft);
}

.contact-details strong {
  color: var(--green-dark);
}

.contact-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

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

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-form .full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  color: var(--navy);
  background: var(--white);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(109, 40, 217, 0.45);
  box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.09);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 19px 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 52px 0 28px;
  color: #d9e3e8;
  background:
    radial-gradient(circle at 88% 0%, rgba(109, 40, 217, 0.28), transparent 25%),
    linear-gradient(135deg, #08111d, #0b1d18 55%, #120a24);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.85fr 0.75fr;
  gap: 34px;
  align-items: start;
}

.footer-brand img {
  width: 220px;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  background: #000;
}

.footer-brand p {
  max-width: 430px;
  margin: 18px 0 0;
  color: #b6c5ce;
}

.footer-col {
  display: grid;
  gap: 9px;
}

.footer-col h2 {
  margin: 0 0 5px;
  color: var(--white);
  font-size: 1rem;
}

.footer-col a {
  color: #d9e3e8;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a6b5bf;
  font-size: 0.92rem;
}

.legal-header {
  grid-template-columns: auto 1fr;
}

.legal-nav {
  justify-content: flex-end;
}

.legal-main {
  min-height: 68vh;
}

.legal-content {
  max-width: 920px;
  padding: 38px;
}

.legal-content h1 {
  margin: 14px 0 26px;
  color: var(--navy);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-content h2 {
  margin: 30px 0 8px;
  color: var(--navy);
  font-size: 1.22rem;
}

.legal-content p {
  margin: 0;
  color: var(--muted);
}

.legal-content a {
  color: var(--green-dark);
  font-weight: 800;
}

.legal-footer a {
  color: var(--white);
  font-weight: 800;
}

.reveal {
  animation: rise 0.45s ease-out both;
}

@keyframes rise {
  from {
    opacity: 0.96;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1260px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

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

  .site-nav,
  .header-actions {
    grid-column: 1 / -1;
  }

  .site-nav {
    display: none;
    justify-content: flex-start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .header-actions {
    display: none;
    justify-content: flex-start;
    padding-bottom: 16px;
  }

  body.nav-open .header-actions {
    display: flex;
  }

  .legal-nav {
    display: flex;
    grid-column: auto;
    justify-content: flex-end;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 1020px) {
  .hero-grid,
  .solution-grid,
  .why-grid,
  .ai-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-visual > picture,
  .hero-visual > picture img {
    min-height: 440px;
  }

  .problem-grid,
  .service-grid,
  .use-case-grid,
  .project-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 100%;
  }

  .brand {
    width: 164px;
    height: 54px;
  }

  .site-nav {
    display: none;
    flex-direction: column;
  }

  .site-nav a {
    width: 100%;
    padding: 12px;
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .header-actions {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .header-actions .btn {
    width: 100%;
  }

  .section,
  .section-shell {
    padding: 62px 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.15rem, 10.5vw, 3rem);
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero-proof,
  .trust-grid,
  .problem-grid,
  .service-grid,
  .use-case-grid,
  .project-grid,
  .reason-list,
  .timeline,
  .contact-details,
  .contact-form,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
    border-radius: 24px;
  }

  .hero-visual > picture,
  .hero-visual > picture img {
    min-height: 380px;
  }

  .hero-visual-brand {
    max-width: 170px;
  }

  .kpi-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: 10px 14px;
  }

  .kpi-card-one {
    margin-top: -118px;
  }

  .flow {
    align-items: stretch;
    flex-direction: column;
  }

  .flow span {
    transform: rotate(90deg);
    align-self: center;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .legal-header {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .legal-content {
    padding: 26px;
  }
}
