:root {
  --ink: #111715;
  --muted: #596662;
  --paper: #ffffff;
  --wash: #f5f7f6;
  --line: #dce5e1;
  --cyan: #7df9ff;
  --teal: #047481;
  --lime: #d7ff5f;
  --night: #061014;
  --panel: #101816;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

::selection {
  background: #cfefff;
  color: #092a5e;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f2f9ff 46%, #e8f4ff 100%);
  color: #092a5e;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    linear-gradient(120deg, rgb(0 136 210 / 0.08), transparent 36%),
    linear-gradient(300deg, rgb(255 122 24 / 0.12), transparent 34%);
}

.architecture-board {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image:
    linear-gradient(rgb(0 136 210 / 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 136 210 / 0.08) 1px, transparent 1px),
    radial-gradient(circle at 78% 12%, rgb(255 122 24 / 0.14), transparent 28%),
    radial-gradient(circle at 12% 18%, rgb(0 159 227 / 0.12), transparent 34%);
  background-size: 72px 72px;
  opacity: 1;
}

.architecture-board::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, #f5fbff 0%, rgb(245 251 255 / 0.92) 44%, rgb(245 251 255 / 0.62) 100%),
    linear-gradient(180deg, rgb(255 255 255 / 0.2) 0%, #eef7ff 100%);
}

.board-line,
.board-node,
.board-panel {
  position: absolute;
  z-index: 1;
}

.board-line {
  height: 2px;
  transform-origin: left;
  background: linear-gradient(90deg, transparent, #009fe3, #ff7a18, transparent);
  opacity: 0.28;
}

.board-line-a {
  right: 4%;
  top: 34%;
  width: 48%;
  transform: rotate(-8deg);
}

.board-line-b {
  right: 8%;
  top: 64%;
  width: 38%;
  transform: rotate(12deg);
}

.board-node {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgb(0 136 210 / 0.18);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.68);
  color: #194c7f;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.85rem;
  box-shadow: 0 20px 50px rgb(0 80 140 / 0.08);
}

.node-a {
  right: 24%;
  top: 17%;
}

.node-b {
  right: 9%;
  top: 42%;
}

.node-c {
  right: 30%;
  bottom: 17%;
}

.board-panel {
  width: 280px;
  border: 1px solid rgb(0 136 210 / 0.16);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.76);
  padding: 1rem;
  color: #092a5e;
  box-shadow: 0 24px 70px rgb(0 80 140 / 0.12);
}

.board-panel span,
.board-panel em {
  display: block;
  color: #5c7894;
  font-family:
    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.78rem;
  font-style: normal;
}

.board-panel strong {
  display: block;
  margin: 0.55rem 0;
  font-size: 1.1rem;
}

.panel-a {
  right: 11%;
  top: 20%;
}

.panel-b {
  right: 17%;
  bottom: 12%;
}

.site-header,
.hero-content,
.proof-strip,
.intro,
.section,
.contact,
footer {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  left: 50%;
  top: 14px;
  z-index: 40;
  width: min(100% - 40px, 1180px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.82);
  padding: 10px 14px;
  box-shadow: 0 18px 46px rgb(10 70 130 / 0.12);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-actions,
.hero-actions,
footer {
  display: flex;
  align-items: center;
}

.brand {
  min-height: 56px;
  font-weight: 700;
}

.brand img {
  display: block;
  width: min(340px, 58vw);
  height: auto;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

.nav {
  gap: 28px;
  color: #315f92;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover {
  color: #0088d2;
}

.header-actions {
  gap: 8px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgb(49 95 146 / 0.22);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.78);
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(10 70 130 / 0.1);
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #092a5e;
}

.mobile-nav {
  position: fixed;
  left: 50%;
  top: 82px;
  z-index: 39;
  display: none;
  width: min(100% - 40px, 1180px);
  transform: translateX(-50%);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgb(255 255 255 / 0.76);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.92);
  padding: 10px;
  box-shadow: 0 18px 46px rgb(10 70 130 / 0.14);
  backdrop-filter: blur(18px);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  border-radius: 8px;
  background: rgb(9 42 94 / 0.05);
  color: #092a5e;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 12px;
  text-align: center;
}

.terms-header {
  position: sticky;
  left: auto;
  top: 14px;
  margin: 14px auto 0;
  transform: none;
}

.terms-mobile-nav {
  top: 100px;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgb(49 95 146 / 0.28);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.76);
  padding: 3px;
  box-shadow: 0 10px 24px rgb(10 70 130 / 0.1);
}

.language-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 34px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #315f92;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
}

.language-flag {
  display: inline-block;
  width: 22px;
  height: 14px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 2px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgb(9 42 94 / 0.16);
}

.flag-ro {
  background: linear-gradient(90deg, #002b7f 0 33.33%, #fcd116 33.33% 66.66%, #ce1126 66.66%);
}

.flag-en {
  background-color: #012169;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v30H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30M60 0 0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' d='M0 0l60 30M60 0 0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/g%3E%3C/svg%3E");
}

.language-toggle button[aria-pressed='true'] {
  background: #092a5e;
  color: #fff;
}

.mobile-language-toggle {
  display: none;
  margin: 0 0 22px;
}

.header-cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 8px;
  background: #ff7a18;
  color: var(--paper);
  font-weight: 700;
  padding: 0 18px;
  box-shadow: 0 12px 28px rgb(255 122 24 / 0.24);
}

.header-cta:hover {
  background: #e96508;
}

.header-cta.whatsapp,
.button.primary.whatsapp {
  background: #25d366;
  color: #063316;
  box-shadow: 0 14px 34px rgb(37 211 102 / 0.24);
}

.header-cta.whatsapp:hover,
.button.primary.whatsapp:hover {
  background: #1fc15a;
}

.hero-content {
  padding: 156px 0 44px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #0088d2;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

.eyebrow.accent {
  color: var(--lime);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 840px;
  color: #08295f;
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 750;
  line-height: 1.02;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 720;
  line-height: 1.08;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.18;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-copy {
  max-width: 690px;
  color: #31526f;
  font-size: 1.3rem;
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-size: 1rem;
  font-weight: 750;
}

.button.primary {
  background: var(--lime);
  color: var(--night);
}

.button.primary:hover {
  background: var(--paper);
}

.button.secondary {
  border: 1px solid #b8d6ed;
  background: var(--paper);
  color: #092a5e;
}

.button.secondary:hover {
  border-color: #0088d2;
  background: #eaf6ff;
}

.button.dark {
  margin-top: 28px;
  background: var(--ink);
  color: var(--paper);
}

.button.dark:hover {
  background: var(--teal);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #c5dced;
  border-bottom: 1px solid #c5dced;
  padding: 20px 0;
}

.proof-strip div {
  min-height: 86px;
  border-right: 1px solid #c5dced;
  padding-right: 20px;
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  color: #092a5e;
  font-size: 1.55rem;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  max-width: 290px;
  color: #4e6f8d;
  font-size: 0.95rem;
  line-height: 1.55;
}

.intro {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 54px;
  padding: 44px 0;
}

.intro p:last-child {
  margin: 0;
  color: #4d5a56;
  font-size: 1.15rem;
}

.section {
  padding: 76px 0;
}

.section.light {
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
}

.section-heading,
.dark-section,
.expertise,
.careers,
.contact {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 54px;
}

.section-heading {
  align-items: end;
  margin-bottom: 40px;
}

.section-heading p {
  max-width: 440px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card,
.process-grid article,
.role-panel,
.stability-panel {
  border-radius: 8px;
}

.service-card {
  min-height: 280px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 26px;
  box-shadow: 0 18px 50px rgb(17 23 21 / 0.06);
}

.service-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #b9cbc4;
  border-radius: 8px;
  color: var(--teal);
  font-weight: 800;
}

.service-card h3 {
  margin-top: 44px;
}

.dark-section {
  width: 100%;
  max-width: none;
  background: var(--panel);
  color: var(--paper);
  padding: 76px max(20px, calc((100vw - 1180px) / 2));
}

.dark-section p {
  color: rgb(255 255 255 / 0.68);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.process-grid article {
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(255 255 255 / 0.04);
  padding: 26px;
}

.process-grid span {
  color: var(--cyan);
  font-weight: 800;
}

.process-grid h3 {
  margin-top: 28px;
}

.expertise,
.careers {
  align-items: start;
}

.expertise {
  background: var(--wash);
}

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

.tags span {
  border: 1px solid #cad8d2;
  border-radius: 8px;
  background: var(--paper);
  padding: 10px 13px;
  color: #24302c;
  font-size: 0.92rem;
  font-weight: 650;
}

.stability-panel {
  border: 1px solid #cad8d2;
  background: var(--ink);
  color: var(--paper);
  padding: 30px;
}

.stability-panel ul,
.role-panel ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.stability-panel li,
.role-panel li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  line-height: 1.55;
}

.stability-panel li::before,
.role-panel li::before {
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  content: "";
}

.stability-panel li::before {
  border: 5px solid var(--lime);
}

.role-panel {
  border: 1px solid var(--line);
  background: #f9fbfa;
  padding: 30px;
}

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

.role-panel li {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 17px 18px 17px 48px;
  color: #24302c;
  font-weight: 650;
}

.role-panel li::before {
  left: 18px;
  top: 20px;
  border: 5px solid var(--teal);
}

.abi-legal-section {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100% - 40px, 1180px);
  grid-template-columns: 0.82fr 1fr;
  gap: 54px;
  margin: 0 auto;
  padding: 76px 0;
}

.abi-legal-section > div:first-child p {
  margin: 22px 0 28px;
}

.abi-legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.abi-legal-grid article {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 24px;
  box-shadow: 0 18px 50px rgb(17 23 21 / 0.05);
}

.abi-legal-grid h3 {
  color: #092a5e;
}

.abi-legal-grid p {
  margin: 0;
  font-size: 0.98rem;
}

.contact {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  background: var(--night);
  color: var(--paper);
  padding: 76px max(20px, calc((100vw - 1180px) / 2));
}

.contact::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: '';
  background:
    linear-gradient(90deg, rgb(6 16 20 / 0.74) 0%, rgb(6 16 20 / 0.58) 46%, rgb(6 16 20 / 0.28) 100%),
    radial-gradient(circle at 80% 14%, rgb(37 211 102 / 0.16), transparent 32%);
}

.contact > * {
  position: relative;
  z-index: 2;
}

.contact-map {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.52) contrast(1.04) brightness(1);
  opacity: 0.96;
  pointer-events: none;
}

.contact p {
  color: rgb(255 255 255 / 0.68);
}

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

.contact-list a,
.contact-list div {
  display: grid;
  gap: 4px;
  min-height: 80px;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 8px;
  background: rgb(6 16 20 / 0.42);
  backdrop-filter: blur(6px);
  padding: 20px;
}

.contact-list a:hover {
  border-color: rgb(125 249 255 / 0.6);
}

.contact-list .whatsapp-card {
  border-color: rgb(37 211 102 / 0.45);
  background: #25d366;
  color: var(--night);
}

.contact-list .whatsapp-card span {
  color: rgb(6 16 20 / 0.7);
}

.contact-list .whatsapp-card:hover {
  border-color: var(--lime);
  background: var(--lime);
}

.contact-list span {
  color: rgb(255 255 255 / 0.54);
  font-size: 0.9rem;
}

.contact-list strong {
  font-size: 1.15rem;
  line-height: 1.4;
}

footer {
  justify-content: space-between;
  gap: 16px;
  background: #03090b;
  color: rgb(255 255 255 / 0.56);
  padding: 30px max(20px, calc((100vw - 1180px) / 2));
  width: 100%;
  max-width: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a,
.footer-links button {
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 0.68);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  padding: 0;
}

.footer-links a:hover,
.footer-links button:hover {
  color: #7df9ff;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: var(--night);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.24);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0 22px;
}

.whatsapp-float:hover {
  background: var(--lime);
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0;
  z-index: 80;
  padding: 18px;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-dialog {
  width: min(100%, 980px);
  margin: 0 auto;
  border: 1px solid rgb(9 42 94 / 0.16);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 24px 80px rgb(6 16 20 / 0.22);
  color: var(--ink);
  padding: 22px;
  pointer-events: auto;
}

.cookie-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-heading span {
  border-radius: 999px;
  background: #e8f4ff;
  color: #092a5e;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 10px;
}

.cookie-dialog h2 {
  font-size: 1.55rem;
}

.cookie-dialog p {
  max-width: 780px;
  margin: 10px 0 0;
  font-size: 0.98rem;
}

.cookie-dialog small {
  display: block;
  margin-top: 14px;
  color: #596662;
  font-size: 0.82rem;
  line-height: 1.55;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-actions button,
.cookie-back {
  min-height: 42px;
  border: 1px solid #b8d6ed;
  border-radius: 8px;
  background: #fff;
  color: #092a5e;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0 16px;
}

.cookie-actions .cookie-primary {
  border-color: #25d366;
  background: #25d366;
  color: #063316;
}

.cookie-actions button:hover,
.cookie-back:hover {
  border-color: #0088d2;
  background: #eaf6ff;
}

.cookie-actions .cookie-primary:hover {
  border-color: var(--lime);
  background: var(--lime);
}

.cookie-back {
  margin-bottom: 12px;
}

.cookie-categories {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.cookie-categories label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
  padding: 16px;
}

.cookie-categories input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #25d366;
}

.cookie-categories strong {
  display: inline-flex;
  color: #092a5e;
  font-size: 1rem;
}

.cookie-categories em {
  display: inline-flex;
  margin-left: 8px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #315f92;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  padding: 3px 8px;
}

.terms-page {
  width: min(100% - 40px, 780px);
  margin: 0 auto;
  padding: 56px 0 88px;
}

.terms-back {
  display: inline-flex;
  margin-bottom: 32px;
  color: #047481;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terms-back:hover {
  color: #0088d2;
}

.terms-page h1 {
  margin-bottom: 22px;
  color: #08295f;
  font-size: clamp(3rem, 8vw, 5.8rem);
  text-transform: uppercase;
}

.terms-subtitle {
  border-left: 4px solid #ff7a18;
  color: #092a5e;
  font-size: 1.2rem;
  font-weight: 650;
  padding-left: 18px;
}

.terms-updated {
  color: #6a7772;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.terms-disclaimer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

.terms-sections {
  display: grid;
  gap: 42px;
  margin-top: 52px;
}

.terms-sections article {
  scroll-margin-top: 110px;
}

.terms-sections h2 {
  color: #111715;
  font-size: 1.48rem;
  line-height: 1.18;
}

.terms-sections p {
  margin-top: 16px;
  font-size: 1rem;
}

.terms-sections .button {
  margin-top: 18px;
}

@media (max-width: 980px) {
  .architecture-board {
    opacity: 0.46;
  }

  .board-panel,
  .board-node {
    display: none;
  }

  .architecture-board::after {
    background:
      linear-gradient(90deg, #f5fbff 0%, rgb(245 251 255 / 0.9) 100%),
      linear-gradient(180deg, rgb(255 255 255 / 0.2) 0%, #eef7ff 100%);
  }

  .nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .intro,
  .section-heading,
  .dark-section,
  .expertise,
  .careers,
  .abi-legal-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-grid,
  .abi-legal-grid,
  .role-panel ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .site-header,
  .terms-page,
  .hero-content,
  .proof-strip,
  .intro,
  .section,
  .abi-legal-section,
  .contact,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .header-actions {
    display: none;
  }

  .mobile-nav {
    top: 78px;
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr 1fr;
  }

  .mobile-language-toggle {
    display: inline-flex;
  }

  .hero-content {
    padding: 52px 0 34px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-copy {
    font-size: 1.12rem;
  }

  .button {
    width: 100%;
  }

  .proof-strip,
  .service-grid,
  .process-grid,
  .abi-legal-grid,
  .role-panel ul {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    border-right: 0;
    border-bottom: 1px solid #c5dced;
    padding-bottom: 16px;
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section,
  .dark-section,
  .contact {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner {
    padding: 10px;
  }

  .cookie-dialog {
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 18px;
  }

  .cookie-actions button,
  .cookie-back {
    width: 100%;
  }
}
