/*
Theme Name: Dystec Enterprise
Theme URI: https://dystec.com.br/
Author: Dystec Tecnologia
Description: Tema institucional da Dystec para operações críticas, setor público e grandes empresas.
Version: 1.1.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dystec-enterprise
*/

:root {
  --navy-950: #04101d;
  --navy-900: #071321;
  --navy-850: #0a1b2e;
  --navy-800: #0d243a;
  --navy-700: #173752;
  --cyan: #28d7e5;
  --cyan-soft: #7be8f0;
  --paper: #f4f7fa;
  --muted: #a9b8c8;
  --line: rgba(123, 232, 240, 0.17);
  --font-geist-sans: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  --font-geist-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--paper);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.shell {
  width: min(100% - 64px, 1392px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 16px;
  left: 16px;
  padding: 10px 14px;
  background: var(--cyan);
  color: var(--navy-950);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.wordmark {
  display: inline-flex;
  justify-self: start;
  flex-direction: column;
  gap: 3px;
}

.wordmark-main {
  font-size: 23px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.wordmark-sub {
  font-family: var(--font-geist-mono), monospace;
  color: var(--cyan);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.42em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 42px);
}

.desktop-nav a {
  position: relative;
  color: rgba(244, 247, 250, 0.78);
  font-size: 14px;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav a:hover {
  color: white;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(123, 232, 240, 0.34);
  padding: 12px 17px;
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 600;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.header-cta:hover {
  border-color: var(--cyan);
  background: rgba(40, 215, 229, 0.07);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 47%, rgba(18, 89, 122, 0.25), transparent 32%),
    linear-gradient(115deg, var(--navy-900) 0%, #051426 52%, #061a2d 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(123, 232, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 232, 240, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, black 45%, black 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
}

.hero-glow-one {
  top: -160px;
  right: 10%;
  width: 380px;
  height: 380px;
  background: rgba(40, 215, 229, 0.09);
}

.hero-glow-two {
  bottom: -120px;
  left: 22%;
  width: 320px;
  height: 320px;
  background: rgba(21, 81, 141, 0.18);
}

.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  align-items: center;
  min-height: calc(100svh - 92px);
  padding-top: 104px;
  padding-bottom: 116px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 660px;
  animation: intro-up 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--cyan);
  font-family: var(--font-geist-mono), monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(50px, 4.75vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 650;
}

.hero h1 em {
  color: var(--cyan-soft);
  font-style: normal;
  font-weight: 520;
}

.hero-description {
  max-width: 585px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.58;
}

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

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button-primary {
  background: var(--cyan);
  color: var(--navy-950);
  box-shadow: 0 12px 36px rgba(40, 215, 229, 0.16);
}

.button-primary:hover {
  transform: translateY(-2px);
  background: #58e3ed;
}

.button-secondary {
  border-color: rgba(40, 215, 229, 0.45);
  color: var(--cyan-soft);
  background: rgba(6, 26, 45, 0.58);
}

.button-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  background: rgba(40, 215, 229, 0.08);
}

.hero-visual {
  position: relative;
  width: 115%;
  margin-left: -4%;
  animation: intro-fade 900ms 120ms ease both;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 17% 10%;
  background: rgba(40, 215, 229, 0.13);
  filter: blur(100px);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
  filter: saturate(0.92) contrast(1.04);
  mask-image: radial-gradient(
    ellipse 70% 64% at 58% 54%,
    black 58%,
    rgba(0, 0, 0, 0.72) 74%,
    transparent 100%
  );
}

.visual-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(123, 232, 240, 0.2);
  background: rgba(4, 16, 29, 0.78);
  backdrop-filter: blur(14px);
  color: rgba(244, 247, 250, 0.72);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.visual-label-top {
  top: 13%;
  right: 7%;
  padding: 10px 13px;
}

.visual-label-bottom {
  right: 8%;
  bottom: 13%;
  padding: 9px 12px;
}

.visual-label-bottom span {
  color: var(--cyan);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(40, 215, 229, 0.1);
  animation: pulse 2.6s ease-in-out infinite;
}

.trust-bar {
  position: absolute;
  z-index: 3;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 42px);
  min-height: 64px;
  border-top: 1px solid rgba(123, 232, 240, 0.12);
  color: rgba(244, 247, 250, 0.68);
  font-size: 13px;
  letter-spacing: 0.015em;
  transform: translateX(-50%);
}

.trust-bar i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(40, 215, 229, 0.6);
}

.section {
  position: relative;
  padding: clamp(96px, 10vw, 152px) 0;
}

.section-index {
  margin: 0 0 22px;
  color: #315168;
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.section-index-cyan {
  color: var(--cyan);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(280px, 0.58fr);
  align-items: end;
  gap: clamp(48px, 9vw, 140px);
  margin-bottom: clamp(54px, 6vw, 88px);
}

.section-heading h2,
.contexts-heading h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(39px, 4.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.052em;
  font-weight: 620;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: #506778;
  font-size: 17px;
  line-height: 1.7;
}

.section-heading-dark h2,
.contexts-heading h2 {
  color: #0b1f30;
}

.solutions-section {
  background: #f3f7f8;
  color: #0b1f30;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #cfdade;
  border-left: 1px solid #cfdade;
}

.solution-card {
  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(28px, 2.5vw, 42px);
  border-right: 1px solid #cfdade;
  border-bottom: 1px solid #cfdade;
  background: rgba(255, 255, 255, 0.58);
  transition:
    color 240ms ease,
    background 240ms ease,
    transform 240ms ease;
}

.solution-card:hover {
  z-index: 2;
  background: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(14, 42, 56, 0.08);
}

.solution-card-featured {
  color: var(--paper);
  background: var(--navy-800);
}

.solution-card-featured:hover {
  background: #102d47;
}

.solution-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #547184;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.solution-card-featured .solution-card-top {
  color: var(--cyan);
}

.solution-card h3 {
  margin: 0 0 18px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 630;
}

.solution-card p {
  margin: 0;
  color: #5b6e79;
  font-size: 15px;
  line-height: 1.7;
}

.solution-card-featured p {
  color: var(--muted);
}

.solution-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-card li {
  position: relative;
  padding-left: 15px;
  color: #3d5667;
  font-size: 13px;
}

.solution-card li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3a7b8f;
}

.solution-card-featured li {
  color: rgba(244, 247, 250, 0.74);
}

.solution-card-featured li::before {
  background: var(--cyan);
}

.solution-card > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #d4dee1;
  color: #173e51;
  font-size: 13px;
  font-weight: 650;
}

.solution-card-featured > a {
  border-color: rgba(123, 232, 240, 0.18);
  color: var(--cyan-soft);
}

.public-sector-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(40, 215, 229, 0.08), transparent 30%),
    var(--navy-900);
}

.public-sector-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(123, 232, 240, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 232, 240, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.public-sector-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 0.78fr);
  gap: clamp(70px, 11vw, 180px);
}

.public-sector-copy {
  align-self: center;
}

.public-sector-copy h2,
.company-statement h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(43px, 4.6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 610;
}

.public-sector-copy > p:not(.section-index) {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 38px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(40, 215, 229, 0.42);
  color: var(--cyan-soft);
  font-size: 14px;
  font-weight: 650;
  transition:
    gap 180ms ease,
    border-color 180ms ease;
}

.text-link:hover {
  gap: 36px;
  border-color: var(--cyan);
}

.delivery-list {
  border-top: 1px solid rgba(123, 232, 240, 0.18);
}

.delivery-kicker {
  margin: 0;
  padding: 0 0 18px;
  color: rgba(244, 247, 250, 0.42);
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-30px);
}

.delivery-item {
  display: grid;
  grid-template-columns: 1fr;
  padding: 28px 0;
  border-bottom: 1px solid rgba(123, 232, 240, 0.14);
}

.delivery-item h3 {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: 580;
  letter-spacing: -0.02em;
}

.delivery-item p {
  margin: 0;
  color: rgba(169, 184, 200, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.method-section {
  background: #ffffff;
  color: #0b1f30;
}

.method-line {
  position: relative;
  height: 1px;
  margin: 0 0 0;
  background: #d7e0e3;
}

.method-line span {
  position: absolute;
  top: -2px;
  left: 0;
  width: 25%;
  height: 4px;
  background: var(--cyan);
}

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

.method-grid article {
  position: relative;
  min-height: 260px;
  padding: 38px clamp(24px, 3vw, 48px) 0 0;
}

.method-grid article:not(:last-child) {
  border-right: 1px solid #e0e7e9;
}

.method-grid article:not(:first-child) {
  padding-left: clamp(24px, 3vw, 48px);
}

.method-grid h3 {
  margin: 0 0 13px;
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.035em;
}

.method-grid p {
  max-width: 250px;
  margin: 0;
  color: #5d707c;
  font-size: 14px;
  line-height: 1.68;
}

.company-section {
  background: #0a1a2b;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.62fr);
  gap: clamp(72px, 12vw, 190px);
}

.company-statement > p:not(.section-index) {
  max-width: 750px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.principles {
  border-top: 1px solid rgba(123, 232, 240, 0.15);
}

.principles article {
  display: grid;
  grid-template-columns: 1fr;
  padding: 28px 0;
  border-bottom: 1px solid rgba(123, 232, 240, 0.15);
}

.principles h3 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 580;
}

.principles p {
  margin: 0;
  color: rgba(169, 184, 200, 0.76);
  font-size: 14px;
  line-height: 1.62;
}

.contexts-section {
  overflow: hidden;
  background: #eef3f4;
  color: #0b1f30;
}

.contexts-heading {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(52px, 7vw, 92px);
}

.contexts-heading .section-index {
  margin-top: 12px;
}

.contexts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #ccdadd;
  border: 1px solid #ccdadd;
}

.contexts-grid article {
  position: relative;
  min-height: 360px;
  padding: clamp(30px, 3.2vw, 50px);
  background: #f7fafb;
  transition:
    color 220ms ease,
    background 220ms ease;
}

.contexts-grid article:hover {
  color: var(--paper);
  background: var(--navy-800);
}

.context-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 27px;
  border: 1px solid #aec4ca;
  color: #3b6a78;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.contexts-grid article:hover .context-tag {
  border-color: rgba(123, 232, 240, 0.25);
  color: var(--cyan);
}

.contexts-grid h3 {
  max-width: 380px;
  margin: 96px 0 17px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.038em;
  font-weight: 620;
}

.contexts-grid p {
  max-width: 380px;
  margin: 0;
  color: #5a6d76;
  font-size: 14px;
  line-height: 1.65;
}

.contexts-grid article:hover p {
  color: var(--muted);
}

.context-arrow {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #427586;
  font-size: 18px;
  transition: transform 180ms ease;
}

.clients-section {
  background: #eef3f7;
  color: var(--navy-900);
}

.clients-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.clients-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(7, 19, 33, 0.1);
  border: 1px solid rgba(7, 19, 33, 0.1);
}

.client-logo {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #f8fafc;
}

.client-logo img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
  transition: filter 180ms ease, opacity 180ms ease;
}

.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.contexts-grid article:hover .context-arrow {
  color: var(--cyan);
  transform: translate(3px, -3px);
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 11vw, 170px) 0;
  background: var(--navy-950);
}

.contact-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.45fr);
  gap: clamp(72px, 12vw, 190px);
  align-items: end;
}

.contact-layout h2 {
  max-width: 800px;
}

.contact-action > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.button-large {
  width: 100%;
  min-height: 64px;
}

.contact-buttons {
  display: grid;
  gap: 12px;
}

.contact-orbit {
  position: absolute;
  border: 1px solid rgba(40, 215, 229, 0.1);
  border-radius: 50%;
}

.contact-orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(40, 215, 229, 0.7);
}

.contact-orbit-one {
  top: -380px;
  right: -160px;
  width: 780px;
  height: 780px;
}

.contact-orbit-one::before {
  transform: translate(224px, -89px);
}

.contact-orbit-two {
  bottom: -310px;
  left: 38%;
  width: 580px;
  height: 580px;
}

.contact-orbit-two::before {
  transform: translate(-212px, 110px);
}

footer {
  background: #030b14;
  color: var(--paper);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.footer-main > div:first-child > p {
  margin: 22px 0 0;
  color: rgba(169, 184, 200, 0.56);
  font-size: 13px;
}

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

.footer-links > div {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-links p {
  margin: 0 0 10px;
  color: rgba(244, 247, 250, 0.36);
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  width: fit-content;
  color: rgba(244, 247, 250, 0.72);
  font-size: 13px;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 72px;
  border-top: 1px solid rgba(123, 232, 240, 0.1);
  color: rgba(244, 247, 250, 0.34);
  font-size: 10px;
}

@keyframes intro-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-fade {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 20px;
  }

  .hero-main {
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.86fr);
  }

  .hero-visual {
    width: 125%;
    margin-left: -12%;
  }
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shell {
    width: min(100% - 40px, 760px);
  }

  .header-inner {
    min-height: 76px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    justify-self: end;
  }

  .mobile-menu summary {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(123, 232, 240, 0.24);
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 17px;
    height: 1px;
    background: var(--cyan-soft);
  }

  .mobile-menu nav {
    position: absolute;
    top: 51px;
    right: 0;
    width: min(290px, calc(100vw - 40px));
    display: grid;
    gap: 1px;
    border: 1px solid rgba(123, 232, 240, 0.18);
    background: rgba(4, 16, 29, 0.97);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
  }

  .mobile-menu nav a {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(123, 232, 240, 0.09);
    color: var(--muted);
    font-size: 14px;
  }

  .mobile-menu nav a:last-child {
    color: var(--navy-950);
    background: var(--cyan);
    font-weight: 650;
  }

  .hero {
    min-height: auto;
  }

  .hero-main {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 142px;
    padding-bottom: 112px;
  }

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

  .hero-visual {
    width: 100%;
    max-width: 680px;
    margin: 32px auto -40px;
  }

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

  .trust-bar {
    position: relative;
    bottom: auto;
    left: auto;
    width: min(100% - 40px, 760px);
    margin-inline: auto;
    padding: 20px 0;
    transform: none;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(100% - 32px, 520px);
  }

  .wordmark-main {
    font-size: 20px;
  }

  .hero-main {
    padding-top: 126px;
    padding-bottom: 86px;
  }

  .eyebrow {
    align-items: flex-start;
    margin-bottom: 22px;
    font-size: 10px;
    line-height: 1.5;
  }

  .hero h1 {
    font-size: clamp(43px, 13.1vw, 62px);
  }

  .hero-description {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    width: 128%;
    margin-left: -14%;
  }

  .visual-label {
    display: none;
  }

  .trust-bar {
    width: min(100% - 32px, 520px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    align-items: start;
    justify-items: start;
    padding: 22px 0 28px;
  }

  .trust-bar span::before {
    content: "•";
    margin-right: 9px;
    color: var(--cyan);
  }

  .trust-bar i {
    display: none;
  }
}

@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-card {
    min-height: 410px;
  }

  .public-sector-layout,
  .company-layout {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
    gap: 72px;
  }

  .contexts-heading {
    grid-template-columns: 0.22fr 1fr;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.5fr);
    gap: 72px;
  }
}

@media (max-width: 900px) {
  .section-heading,
  .public-sector-layout,
  .company-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 28px;
  }

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

  .public-sector-layout,
  .company-layout,
  .contact-layout {
    gap: 72px;
  }

  .delivery-list,
  .principles {
    max-width: 680px;
  }

  .method-line {
    display: none;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #d7e0e3;
  }

  .method-grid article {
    min-height: 250px;
    padding: 32px 30px 34px 0;
    border-bottom: 1px solid #e0e7e9;
  }

  .method-grid article:nth-child(2) {
    padding-left: 30px;
  }

  .method-grid article:nth-child(3) {
    padding-left: 0;
  }

  .method-grid article:nth-child(4) {
    padding-left: 30px;
  }

  .contexts-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contexts-heading .section-index {
    margin-top: 0;
  }

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

  .contexts-grid article {
    min-height: 280px;
  }

  .contexts-grid h3 {
    margin-top: 74px;
  }

  .contact-action {
    max-width: 540px;
  }

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

@media (max-width: 620px) {
  .section {
    padding: 88px 0;
  }

  .section-index {
    margin-bottom: 18px;
  }

  .section-heading {
    margin-bottom: 44px;
  }

  .section-heading h2,
  .contexts-heading h2,
  .public-sector-copy h2,
  .company-statement h2,
  .contact-layout h2 {
    font-size: clamp(37px, 10.4vw, 52px);
  }

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

  .solution-card {
    min-height: 390px;
    padding: 28px;
  }

  .public-sector-layout,
  .company-layout,
  .contact-layout {
    gap: 56px;
  }

  .public-sector-copy > p:not(.section-index),
  .company-statement > p:not(.section-index) {
    font-size: 16px;
  }

  .delivery-kicker {
    transform: translateY(-24px);
  }

  .delivery-item {
    grid-template-columns: 1fr;
    padding: 24px 0;
  }

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

  .client-logo {
    min-height: 120px;
  }

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

  .method-grid article,
  .method-grid article:nth-child(2),
  .method-grid article:nth-child(3),
  .method-grid article:nth-child(4) {
    min-height: auto;
    padding: 28px 0 30px;
    border-right: 0;
  }

  .contexts-grid article {
    min-height: 300px;
    padding: 28px;
  }

  .contexts-grid h3 {
    margin-top: 82px;
  }

  .context-arrow {
    top: 30px;
    right: 30px;
  }

  .contact-section {
    padding: 88px 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 52px;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .footer-links {
    gap: 24px;
  }

  .footer-bottom {
    min-height: 92px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
