:root {
  --ink: #102033;
  --navy: #08243f;
  --blue: #256fba;
  --teal: #1299a2;
  --green: #30885e;
  --coral: #e86f4d;
  --paper: #ffffff;
  --soft: #f5f9fb;
  --soft-2: #eef7f4;
  --muted: #5c6b7a;
  --line: #dbe7ee;
  --shadow: 0 14px 34px rgba(16, 32, 51, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 3%, rgba(18, 153, 162, 0.08), transparent 24rem),
    radial-gradient(circle at 96% 18%, rgba(232, 111, 77, 0.06), transparent 20rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

p,
h1,
h2,
h3,
a,
span,
li,
button,
input,
select,
textarea {
  overflow-wrap: anywhere;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 231, 238, 0.9);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84rem;
}

.topbar-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  font-weight: 700;
}

.navbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--navy);
  font-weight: 850;
  transition: transform 0.22s ease, color 0.22s ease;
}

.brand:hover {
  color: var(--teal);
  transform: translateY(-1px);
}

.brand-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  animation: logo-float 4s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

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

.brand:hover .brand-logo {
  border-color: rgba(18, 153, 162, 0.38);
  box-shadow: 0 10px 24px rgba(18, 153, 162, 0.16);
  transform: rotate(-2deg) scale(1.04);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #2f455b;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-item {
  position: relative;
}

.nav-links > a,
.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-item > a:hover,
.nav-item > a.active {
  color: var(--teal);
  transform: translateY(-1px);
}

.nav-links > a:hover::after,
.nav-links > a.active::after,
.nav-item > a:hover::after,
.nav-item > a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  position: relative;
  isolation: isolate;
  min-width: 92px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--coral), #f09863);
  color: var(--paper) !important;
  text-align: center;
  box-shadow: 0 10px 24px rgba(232, 111, 77, 0.24);
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: translateX(-120%);
  animation: cta-shine 3.2s ease-in-out infinite;
}

.nav-cta:hover {
  color: var(--paper) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  content: none !important;
}

.submenu {
  position: absolute;
  left: 50%;
  top: calc(100% + 18px);
  z-index: 30;
  display: grid;
  min-width: 260px;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.submenu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #2f455b;
  white-space: nowrap;
  background: transparent;
  transform-origin: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.submenu a:hover {
  transform: scale(1.03);
  border-color: rgba(18, 153, 162, 0.18);
  background: linear-gradient(135deg, rgba(18, 153, 162, 0.12), rgba(48, 136, 94, 0.08));
  color: var(--teal);
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.hero-page,
.page-hero,
.section,
.cta-band {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 44px;
  padding: 56px 0;
}

.home-hero {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1120px) / 2));
  padding-right: max(16px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(110deg, rgba(238, 247, 243, 0.96) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(247, 251, 253, 0.98) 100%),
    radial-gradient(circle at 78% 26%, rgba(18, 153, 162, 0.16), transparent 18rem);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
}

h3 {
  font-size: 1.08rem;
}

.hero-copy p:not(.eyebrow),
.page-hero-copy p:not(.eyebrow),
.section-copy p,
.section-heading p,
.service-card p,
.simple-card p,
.service-row p,
.realisation-card p,
.contact-info p,
.form-heading p,
.cta-band p {
  color: var(--muted);
}

.hero-copy p:not(.eyebrow),
.page-hero-copy p:not(.eyebrow) {
  max-width: 580px;
  margin: 16px 0 0;
  font-size: 0.98rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), #0f7e86);
  color: var(--paper);
  box-shadow: 0 14px 30px rgba(21, 154, 163, 0.22);
}

.btn-primary:hover {
  background: #117e85;
}

.btn-secondary {
  border-color: var(--line);
  background: var(--paper);
  color: var(--navy);
}

.hero-media,
.page-hero-media,
.image-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #dfeaf0;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-media:hover,
.page-hero-media:hover,
.image-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(16, 32, 51, 0.14);
}

.hero-media {
  height: 360px;
}

.page-hero-media,
.image-card {
  height: 320px;
}

.hero-media img,
.page-hero-media img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-strip {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-strip article,
.simple-card,
.value-list article,
.contact-info,
.contact-form {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.trust-strip article:hover,
.simple-card:hover,
.value-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 153, 162, 0.28);
  box-shadow: 0 16px 38px rgba(16, 32, 51, 0.09);
}

.trust-strip article {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--navy);
  font-size: 1.04rem;
}

.trust-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 64px 0;
}

.intro-grid,
.split-feature,
.page-hero,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  align-items: center;
  gap: 44px;
}

.page-hero {
  padding: 42px 0;
}

.page-hero .page-hero-copy {
  max-width: 620px;
}

.page-hero .page-hero-media {
  height: 290px;
}

.page-hero .page-hero-copy.reveal.visible {
  animation: hero-copy-pop 0.7s ease both;
}

.page-hero .page-hero-media.reveal.visible {
  animation: hero-media-slide 0.8s ease both;
}

.contact-hero {
  align-items: center;
}

.section-copy {
  max-width: 680px;
}

.section-copy p {
  margin: 14px 0 0;
  font-size: 1rem;
}

.text-link,
.service-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 850;
}

.muted-section {
  width: min(1160px, calc(100% - 32px));
  padding: 56px 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(245, 249, 251, 0.98), rgba(238, 247, 244, 0.86)),
    var(--soft);
}

.highlight-section {
  width: min(1160px, calc(100% - 32px));
  padding: 56px 28px;
  border-radius: var(--radius);
  background: var(--soft-2);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.services-grid .service-card-modern {
  grid-column: span 2;
}

.services-grid .service-card-modern:nth-last-child(2) {
  grid-column: 2 / span 2;
}

.services-grid .service-card-modern:last-child {
  grid-column: 4 / span 2;
}

.service-card,
.simple-card,
.value-list article,
.contact-info,
.contact-form,
.case-card,
.realisation-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.07);
}

.service-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 170px 1fr;
}

.service-card-modern {
  position: relative;
  min-height: 100%;
  grid-template-rows: auto 1fr;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 251, 253, 0.92)),
    var(--paper);
  cursor: pointer;
  will-change: transform;
  transform-origin: center;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.service-card-modern .service-content a {
  position: static;
}

.service-card-modern .service-content a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.service-card-modern .service-content a::after {
  position: relative;
  z-index: 3;
}

.service-card-modern .service-content h3,
.service-card-modern .service-content p,
.service-card-modern .service-features-list,
.service-card-modern .tool-logo-row,
.service-card-modern .service-card-top {
  position: relative;
  z-index: 1;
}

.service-card-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 2px rgba(18, 153, 162, 0.26);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.service-card-modern:hover {
  transform: translateY(-6px) scale(1.025);
  border-color: rgba(21, 154, 163, 0.35);
  box-shadow: 0 24px 56px rgba(16, 32, 51, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(238, 247, 244, 0.94)),
    var(--paper);
}

.service-card-modern:focus-within {
  outline: 3px solid rgba(18, 153, 162, 0.22);
  outline-offset: 3px;
}

.service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.service-card-modern > img {
  display: none;
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.service-thumb {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffffff, var(--soft));
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card-modern:hover .service-thumb {
  transform: scale(1.08);
  border-color: rgba(18, 153, 162, 0.32);
  box-shadow: 0 12px 26px rgba(18, 153, 162, 0.14);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div,
.simple-card,
.value-list article {
  padding: 22px;
}

.service-card-modern .service-content {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 0;
}

.service-card-modern .service-card-top {
  padding: 0;
}

.service-card-modern h3 {
  min-height: 48px;
}

.service-card-modern p {
  margin: 12px 0 0;
  font-size: 0.95rem;
}

.service-card-modern a {
  position: relative;
  z-index: 3;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid rgba(18, 153, 162, 0.18);
  border-radius: var(--radius);
  background: rgba(18, 153, 162, 0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-card-modern a::after {
  content: "→";
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.service-card-modern:hover a {
  background: var(--teal);
  color: var(--paper);
  transform: translateY(-1px);
}

.service-card-modern:hover a::after {
  transform: translateX(3px);
}

.service-features-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 18px 0 20px;
  list-style: none;
}

.service-features-list li {
  position: relative;
  padding-left: 22px;
  color: #44586b;
  font-size: 0.9rem;
}

.service-features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.tool-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.tool-logo-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  padding: 4px;
}

.open-source-intro {
  padding-bottom: 36px;
}

.open-source-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.open-source-benefits article {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(21, 154, 163, 0.08), rgba(255, 255, 255, 0.96)),
    var(--paper);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.07);
}

.open-source-benefits article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--teal);
}

.open-source-benefits strong,
.open-source-benefits span {
  display: block;
}

.open-source-benefits strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.open-source-benefits span {
  margin-top: 8px;
  color: var(--muted);
}

.why-name-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 26px;
}

.why-name-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 153, 162, 0.1), rgba(255, 255, 255, 0.96)),
    var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.why-name-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(232, 111, 77, 0.12);
}

.why-name-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(16, 32, 51, 0.14);
}

.why-name-card span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.why-name-card p {
  max-width: 420px;
  color: var(--muted);
}

.open-source-showcase {
  position: relative;
  overflow: hidden;
}

.open-source-showcase::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(21, 154, 163, 0.11);
}

.open-source-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.tool-card-mini {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tool-card-mini::after {
  content: "";
  position: absolute;
  inset: auto 16px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.tool-card-mini:hover {
  transform: translateY(-5px);
  border-color: rgba(21, 154, 163, 0.38);
  box-shadow: 0 20px 48px rgba(16, 32, 51, 0.13);
}

.tool-card-mini:hover::after {
  transform: scaleX(1);
}

.tool-logo {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 8px;
}

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

.tool-card-mini small {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-card-mini p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-card-highlight {
  border-color: rgba(231, 111, 81, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 248, 244, 0.98), rgba(255, 255, 255, 0.94)),
    var(--paper);
}

.bounce-btn {
  width: fit-content;
  margin-top: 24px;
  animation: soft-bounce 2.2s ease-in-out infinite;
}

.service-card-highlight .service-features-list li::before,
.service-card-highlight .service-content a {
  color: var(--coral);
  background: var(--coral);
}

.service-card-highlight .service-content a {
  border-color: rgba(232, 111, 77, 0.22);
  background: rgba(232, 111, 77, 0.08);
}

.service-card-highlight:hover {
  border-color: rgba(232, 111, 77, 0.72);
}

.service-card-highlight:hover .service-content a {
  background: var(--coral);
  color: var(--paper);
}

.compact .simple-card {
  min-height: 180px;
}

.value-list {
  display: grid;
  gap: 16px;
}

.value-list.reveal.visible article {
  animation: value-card-rise 0.65s ease both;
}

.value-list.reveal.visible article:nth-child(2) {
  animation-delay: 0.12s;
}

.value-list.reveal.visible article:nth-child(3) {
  animation-delay: 0.22s;
}

.value-list strong,
.value-list span {
  display: block;
}

.value-list span {
  margin-top: 6px;
  color: var(--muted);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #31475b;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 143, 98, 0.12);
}

.case-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
}

.case-card img {
  width: 120px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
  padding: 12px;
}

.case-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-row {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.06);
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.service-row:hover,
.service-row.reveal.visible:hover {
  transform: translateY(-8px) scale(1.025) !important;
  border-color: var(--teal);
  background:
    linear-gradient(135deg, rgba(18, 153, 162, 0.08), rgba(255, 255, 255, 0.98)),
    var(--paper);
  box-shadow: 0 28px 62px rgba(16, 32, 51, 0.18);
}

.service-row img {
  transition: transform 0.24s ease, filter 0.24s ease;
}

.service-row:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.03);
}

.service-row img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-row p:not(.eyebrow) {
  margin: 16px 0 0;
}

.realisation-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
}

.realisation-logo {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: var(--radius);
  background: #fffaf0;
  border: 1px solid var(--line);
  padding: 18px;
}

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

.realisations-list {
  padding-top: 30px;
}

.project-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
  min-height: 220px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(21, 154, 163, 0.08), rgba(47, 143, 98, 0.06)),
    var(--paper);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(16, 32, 51, 0.14);
}

.project-feature-image {
  display: grid;
  place-items: center;
  align-self: center;
  width: 180px;
  aspect-ratio: 1;
  padding: 18px;
  border: 1px solid rgba(219, 231, 238, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.project-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-feature-copy {
  display: grid;
  align-content: center;
  order: -1;
  padding: 0;
}

.project-feature-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--muted);
}

.project-feature-copy span {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--paper);
  font-weight: 850;
}

.case-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 24px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 850;
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 34px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7fbfd, #eef7f3);
}

.case-hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.case-hero-logo {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px;
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
}

.case-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 22px;
  align-items: start;
  padding-top: 28px;
}

.case-detail-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(16, 32, 51, 0.07);
}

.case-detail-card p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.testimonial-section {
  padding-top: 22px;
}

.testimonial-card {
  padding: 30px;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card blockquote p {
  margin: 0 0 16px;
  color: #31475b;
}

.testimonial-card footer {
  display: grid;
  gap: 4px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-card strong {
  color: var(--navy);
}

.testimonial-card span {
  color: var(--muted);
}

.contact-layout {
  align-items: start;
  padding-top: 46px;
}

.contact-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(18, 153, 162, 0.08), transparent 22rem),
    radial-gradient(circle at 90% 22%, rgba(232, 111, 77, 0.08), transparent 18rem);
}

.contact-premium-hero {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.86fr);
  gap: 34px;
  align-items: center;
  padding: 34px;
  margin-top: 34px;
  border: 1px solid rgba(219, 231, 238, 0.75);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(8, 36, 63, 0.98), rgba(15, 87, 97, 0.95) 58%, rgba(18, 153, 162, 0.86)),
    var(--navy);
  box-shadow: 0 26px 70px rgba(8, 36, 63, 0.18);
  overflow: hidden;
}

.contact-premium-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.contact-premium-copy h1 {
  color: var(--paper);
}

.contact-premium-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.contact-premium-media {
  position: relative;
  height: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
}

.contact-premium-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 36, 63, 0.02), rgba(8, 36, 63, 0.18));
}

.contact-premium-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-premium-grid {
  display: grid;
  width: min(980px, calc(100% - 32px));
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 18px;
  align-items: start;
  padding-top: 26px;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 231, 238, 0.84);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 252, 0.9)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 44px rgba(16, 32, 51, 0.09);
  backdrop-filter: blur(16px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 153, 162, 0.24);
  box-shadow: 0 22px 58px rgba(16, 32, 51, 0.12);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
}

.contact-details {
  padding: 20px;
}

.contact-details > p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-info-blocks {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.contact-info-blocks article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 11px;
  border: 1px solid rgba(219, 231, 238, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-blocks article:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 153, 162, 0.28);
  box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
}

.contact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), #0f7e86);
  color: var(--paper);
  font-weight: 900;
}

.contact-info-blocks strong,
.contact-info-blocks a,
.contact-info-blocks span {
  display: block;
}

.contact-info-blocks strong {
  color: var(--navy);
}

.contact-info-blocks a,
.contact-info-blocks span {
  margin-top: 3px;
  color: var(--muted);
}

.advanced-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 14px;
}

.advanced-services article {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(8, 36, 63, 0.97), rgba(18, 153, 162, 0.9));
  color: var(--paper);
  box-shadow: 0 14px 28px rgba(8, 36, 63, 0.12);
  transition: transform 0.2s ease;
}

.advanced-services article:hover {
  transform: translateX(4px);
}

.advanced-services span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
}

.need-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.need-badges button {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid rgba(18, 153, 162, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.need-badges button:hover,
.need-badges button.active {
  transform: translateY(-2px);
  background: var(--teal);
  color: var(--paper);
  box-shadow: 0 12px 26px rgba(18, 153, 162, 0.18);
}

.contact-premium-form {
  padding: 20px;
}

.contact-premium-form .btn-primary {
  background: linear-gradient(135deg, var(--teal), #0f7e86);
  color: var(--paper);
}

.contact-project-note {
  min-height: 100%;
  display: grid;
  align-content: start;
  padding: 34px;
  background:
    radial-gradient(circle at 88% 12%, rgba(18, 153, 162, 0.14), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 244, 0.9));
}

.contact-project-note h2 {
  color: var(--teal);
  margin-top: 4px;
}

.contact-project-note h3 {
  margin-top: 14px;
  color: var(--coral);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.project-contact-lines {
  display: grid;
  gap: 7px;
  margin: 24px 0 30px;
  color: var(--navy);
  font-weight: 800;
}

.project-contact-lines span {
  color: var(--muted);
  font-weight: 650;
}

.contact-project-note p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.contact-project-note .btn {
  width: fit-content;
  margin-top: 24px;
}

.thanks-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 36, 63, 0.58);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.thanks-overlay.open {
  opacity: 1;
  visibility: visible;
}

.thanks-card {
  width: min(440px, 100%);
  padding: 34px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(18, 153, 162, 0.18), transparent 12rem),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  transform: translateY(18px) scale(0.94);
}

.thanks-overlay.open .thanks-card {
  animation: thanks-pop 0.55s cubic-bezier(0.2, 0.9, 0.2, 1.15) both;
}

.thanks-logo {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 0 0 8px rgba(18, 153, 162, 0.1), 0 18px 40px rgba(16, 32, 51, 0.14);
  animation: thanks-logo-bounce 1.4s ease-in-out infinite;
}

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

.thanks-card h2 {
  color: var(--navy);
}

.thanks-card p {
  margin: 12px auto 22px;
  max-width: 330px;
  color: var(--muted);
}

.thanks-card .btn {
  min-width: 130px;
}

.contact-info,
.contact-form {
  padding: 26px;
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.info-list article {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
}

.info-list strong {
  color: var(--navy);
}

.info-list a,
.info-list span {
  color: var(--muted);
}

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

.form-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  font-size: 0.94rem;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  color: var(--navy);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(215, 229, 236, 0.95);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--teal);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(21, 154, 163, 0.14);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 64px;
  padding: 34px;
  border-radius: var(--radius);
  color: var(--paper);
  background: linear-gradient(110deg, var(--navy), #0f5761);
  box-shadow: var(--shadow);
}

.cta-band.reveal.visible {
  animation: cta-enter 0.75s ease both;
}

.cta-band .btn-primary {
  animation: cta-button-pulse 2.6s ease-in-out infinite;
}

.cta-band h2,
.cta-band p {
  color: var(--paper);
}

.cta-band p:not(.eyebrow) {
  max-width: 680px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .btn-primary {
  flex: 0 0 auto;
  background: var(--paper);
  color: var(--navy);
  box-shadow: none;
}

.demo-btn {
  position: relative;
  gap: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #fff3e8) !important;
  color: var(--navy) !important;
  box-shadow: 0 16px 34px rgba(232, 111, 77, 0.22) !important;
}

.demo-btn::before {
  content: "▶";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--paper);
  font-size: 0.75rem;
  box-shadow: 0 0 0 0 rgba(232, 111, 77, 0.32);
  animation: demo-pulse 1.9s ease-in-out infinite;
}

.demo-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-120%);
  animation: demo-shine 2.8s ease-in-out infinite;
}

.demo-btn:hover {
  transform: translateY(-4px) scale(1.03);
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 34px;
  padding: 44px max(16px, calc((100% - 1120px) / 2));
  background: #071f36;
  color: rgba(255, 255, 255, 0.76);
}

.footer .brand {
  color: var(--paper);
}

.footer .brand-logo {
  animation: footer-logo-pulse 3.6s ease-in-out infinite;
}

.footer .brand:hover .brand-logo {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 5px rgba(18, 153, 162, 0.16), 0 14px 30px rgba(0, 0, 0, 0.18);
}

.footer p {
  max-width: 560px;
}

.footer h2 {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.84);
}

.footer .nav-item {
  position: static;
}

.footer .submenu {
  display: none;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card-modern.reveal.visible:hover {
  transform: translateY(-10px) scale(1.08) !important;
  border-color: var(--teal) !important;
  box-shadow: 0 30px 70px rgba(16, 32, 51, 0.22) !important;
}

.service-card-modern.reveal.visible:hover::before {
  opacity: 1;
}

@keyframes cta-shine {
  0%,
  45% {
    transform: translateX(-120%);
  }

  75%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes soft-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes footer-logo-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(18, 153, 162, 0.22);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 7px rgba(18, 153, 162, 0);
  }
}

@keyframes hero-copy-pop {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hero-media-slide {
  0% {
    opacity: 0;
    transform: translateX(22px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes value-card-rise {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cta-enter {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cta-button-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    transform: translateY(-3px);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

@keyframes demo-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(232, 111, 77, 0.32);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 8px rgba(232, 111, 77, 0);
  }
}

@keyframes demo-shine {
  0%,
  45% {
    transform: translateX(-120%);
  }

  80%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes thanks-pop {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.9);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes thanks-logo-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-6px) rotate(-2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn,
  .site-header,
  .nav-cta::before,
  .bounce-btn,
  .brand-logo,
  .page-hero .page-hero-copy.reveal.visible,
  .page-hero .page-hero-media.reveal.visible,
  .value-list.reveal.visible article,
  .cta-band.reveal.visible,
  .cta-band .btn-primary,
  .demo-btn::before,
  .demo-btn::after,
  .thanks-overlay.open .thanks-card,
  .thanks-logo {
    animation: none;
    transition: none;
  }
}

@media (max-width: 1060px) {
  .nav-links {
    gap: 12px;
    font-size: 0.86rem;
  }

  .hero-page,
  .page-hero,
  .intro-grid,
  .split-feature,
  .contact-layout {
    gap: 32px;
  }

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

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

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

  .open-source-benefits {
    grid-template-columns: 1fr;
  }

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

  .services-grid .service-card-modern,
  .services-grid .service-card-modern:nth-last-child(2),
  .services-grid .service-card-modern:last-child {
    grid-column: auto;
  }

  .service-row {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .topbar-inner span {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 12px;
  }

  .nav-links > a,
  .nav-item > a {
    min-height: auto;
  }

  .nav-links > a::after,
  .nav-item > a::after {
    left: 12px;
    right: auto;
    bottom: 7px;
    width: 34px;
  }

  .nav-item {
    display: grid;
    width: 100%;
    min-width: 0;
  }

  .submenu {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    display: none;
    min-width: 0 !important;
    max-width: 100%;
    gap: 6px;
    width: 100%;
    padding: 4px 0 10px;
    border: 0;
    box-shadow: none;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent;
  }

  .has-submenu.submenu-open .submenu {
    display: grid;
  }

  .has-submenu > a {
    justify-content: space-between;
  }

  .has-submenu > a::before {
    content: "⌄";
    order: 2;
    margin-left: 10px;
    color: var(--teal);
    transition: transform 0.2s ease;
  }

  .has-submenu.submenu-open > a::before {
    transform: rotate(180deg);
  }

  .submenu::before {
    content: none;
  }

  .submenu a {
    display: flex;
    position: static;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8fbfc;
    color: var(--navy);
    font-size: 0.88rem;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .submenu a::after {
    content: none;
  }

  .submenu a:hover {
    transform: none;
    background: rgba(18, 153, 162, 0.1);
    box-shadow: none;
  }

  .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero-page,
  .page-hero,
  .intro-grid,
  .split-feature,
  .contact-layout,
  .contact-premium-hero,
  .contact-premium-grid,
  .realisation-card,
  .project-feature-card,
  .case-hero-grid,
  .case-detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-page {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-media {
    height: 320px;
  }

  .trust-strip {
    margin-top: 0;
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

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

  .service-row img {
    height: 220px;
  }

  .project-feature-card {
    gap: 18px;
  }

  .project-feature-image {
    width: 150px;
    justify-self: start;
  }

  .case-hero-grid {
    padding: 26px;
  }

  .case-hero-logo {
    max-width: 220px;
  }

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

@media (max-width: 620px) {
  .hero-page,
  .page-hero,
  .section,
  .cta-band,
  .trust-strip,
  .muted-section,
  .highlight-section {
    width: min(100% - 24px, 1120px);
  }

  .navbar {
    width: calc(100% - 24px);
    min-height: 66px;
  }

  .nav-links {
    left: 12px;
    right: 12px;
    top: 66px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand span:last-child {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  h2 {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
  }

  .hero-page,
  .page-hero,
  .section {
    padding: 38px 0;
  }

  .home-hero {
    padding-left: 12px;
    padding-right: 12px;
  }

  .actions,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .open-source-grid {
    grid-template-columns: 1fr;
  }

  .muted-section,
  .highlight-section {
    padding: 34px 18px;
  }

  .hero-media,
  .page-hero-media,
  .image-card {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .hero-media img,
  .page-hero-media img,
  .image-card img {
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .service-card img,
  .service-row img {
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .service-card {
    grid-template-rows: auto 1fr;
  }

  .service-thumb {
    width: 54px;
    height: 54px;
  }

  .service-thumb img {
    object-fit: cover;
  }

  .tool-logo-row {
    gap: 10px;
  }

  .tool-logo-row img {
    width: 42px;
    height: 42px;
    padding: 6px;
  }

  .tool-card-mini {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    padding: 18px;
  }

  .tool-logo {
    grid-row: 1 / span 3;
    width: 72px;
    height: 72px;
    margin: 0;
    padding: 10px;
  }

  .tool-card-mini small,
  .tool-card-mini h3,
  .tool-card-mini p {
    grid-column: 2;
  }

  .tool-card-mini p {
    margin-top: 6px;
  }

  .case-card {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .case-card img {
    width: 132px;
  }

  .realisation-card,
  .contact-info,
  .contact-form,
  .contact-details,
  .case-detail-card,
  .testimonial-card {
    padding: 20px;
  }

  .contact-premium-hero {
    width: min(100% - 24px, 1040px);
    padding: 24px 20px;
    margin-top: 22px;
    border-radius: 18px;
  }

  .contact-premium-media {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }

  .contact-panel {
    border-radius: 16px;
  }

  .contact-info-blocks article {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 14px;
  }

  .contact-project-note {
    padding: 24px 20px;
  }

  .contact-project-note .btn {
    width: 100%;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .advanced-services article {
    min-height: 50px;
  }

  .need-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-feature-image img {
    width: 100%;
  }

  .case-hero {
    width: min(100% - 24px, 1120px);
    padding-top: 28px;
  }

  .cta-band {
    margin-bottom: 46px;
    padding: 24px 20px;
  }

  .footer {
    padding: 42px 16px;
  }
}

@media (max-width: 390px) {
  .brand {
    gap: 8px;
  }

  .brand span:last-child {
    font-size: 0.86rem;
  }

  .topbar {
    font-size: 0.82rem;
  }
}
