:root {
  --paper: #ffffff;
  --paper-light: #f4fbfb;
  --ink: #0b2a4a;
  --muted: #536e87;
  --line: #d8e8e8;
  --blue: #0a9f99;
  --blue-dark: #087d78;
  --lime: #60cfcb;
  --navy: #092844;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(18, 25, 35, 0.12);
  --radius: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

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

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: min(1440px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(18, 25, 35, 0.1);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.brand::before {
  display: none;
}

.brand-image {
  width: 250px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 40px);
}

.main-nav > a,
.nav-services-label {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav > a:hover,
.nav-services-label:hover {
  color: var(--blue);
}

.nav-services {
  position: relative;
}

.nav-services-label::after {
  margin-left: 7px;
  content: "⌄";
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  display: grid;
  width: 260px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown a {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.nav-dropdown a:hover {
  background: #e9f7f6;
  color: var(--blue);
}

.nav-services.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--ink);
  background: transparent;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.hero {
  overflow: hidden;
  padding: 54px 0 58px;
  background: radial-gradient(circle at 72% 22%, rgba(10, 159, 153, 0.08), transparent 31%), var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 1fr);
  min-height: 690px;
  align-items: center;
  gap: 38px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1,
.subpage-hero h1 {
  max-width: 1180px;
  margin: 0;
  font-size: clamp(42px, 4.3vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-page .hero h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.home-page .split-heading h2,
.home-page .section-heading h2,
.home-page .dark-grid h2,
.home-page .expertise-grid h2,
.home-page .contact-cta h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.home-page .eyebrow,
.home-page .card-number,
.home-page .process-list > li > span,
.home-page .resource-grid span {
  font-weight: 700;
}

.home-page .service-card h3,
.home-page .process-list h3,
.home-page .resource-grid h3 {
  font-weight: 700;
}

.home-page .button,
.home-page .text-link,
.home-page .service-card a,
.home-page .resource-grid a {
  font-weight: 700;
}

.home-page .check-list li {
  font-weight: 600;
}

.hero-lead {
  max-width: 720px;
  margin: 34px 0 0;
  color: #4f6b85;
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

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

.button-secondary {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue-dark);
}

.button-secondary:hover {
  background: #e9f7f6;
}

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

.button-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 38px;
}

.hero-facts > div {
  display: grid;
  grid-template-columns: 46px 1fr;
  min-height: 96px;
  align-content: center;
  column-gap: 10px;
  padding: 16px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
}

.hero-facts > div:last-child {
  border-right: 0;
}

.hero-facts strong,
.hero-facts small {
  grid-column: 2;
}

.hero-facts strong {
  align-self: end;
  font-size: 16px;
}

.hero-facts small {
  color: var(--muted);
  font-size: 12px;
}

.fact-icon {
  grid-row: 1 / 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  align-self: center;
  background: #e9f7f6;
  color: var(--blue);
  border: 1px solid rgba(10, 159, 153, 0.22);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.hero-blue-block {
  position: absolute;
  width: 58%;
  height: 58%;
  top: 20%;
  left: 24%;
  background: radial-gradient(circle, rgba(10, 159, 153, 0.08) 0 51%, transparent 52%);
  border: 1px solid rgba(10, 159, 153, 0.22);
  border-radius: 50%;
}

.hero-blue-block::after {
  display: none;
}

.hero-grid-lines {
  position: absolute;
  width: 92%;
  height: 78%;
  top: 3%;
  right: -9%;
  background-image: linear-gradient(rgba(11, 42, 74, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 42, 74, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent, #000 28%, #000);
}

.hero-photo {
  position: absolute;
  z-index: 2;
  width: auto;
  height: 91%;
  right: 0;
  bottom: 0;
  object-fit: contain;
  object-position: bottom right;
  filter: contrast(1.03) saturate(1.03) drop-shadow(0 18px 28px rgba(11, 42, 74, 0.17));
}

.hero-orbit {
  position: absolute;
  width: 150px;
  height: 150px;
  top: 24%;
  left: 3%;
  border: 1px solid rgba(10, 159, 153, 0.48);
  border-radius: 50%;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  background: rgba(10, 159, 153, 0.48);
  content: "";
}

.hero-orbit::before {
  width: 210px;
  height: 1px;
  top: 50%;
  left: -30px;
}

.hero-orbit::after {
  width: 1px;
  height: 210px;
  top: -30px;
  left: 50%;
}

.hero-chart {
  position: absolute;
  z-index: 4;
  width: 190px;
  height: 110px;
  right: -2%;
  bottom: 23%;
  border-bottom: 2px solid var(--blue);
  transform: skewY(-22deg);
}

.hero-chart i {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--blue);
}

.hero-chart i:nth-child(1) { left: 0; bottom: 0; }
.hero-chart i:nth-child(2) { left: 25%; bottom: 22%; }
.hero-chart i:nth-child(3) { left: 50%; bottom: 20%; }
.hero-chart i:nth-child(4) { left: 75%; bottom: 62%; }
.hero-chart i:nth-child(5) { right: 0; bottom: 100%; }

.section {
  padding: 116px 0;
}

.intro-section {
  background: var(--paper-light);
}

.split-heading,
.dark-grid,
.contact-cta-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
}

.split-heading h2,
.section-heading h2,
.dark-grid h2,
.expertise-grid h2,
.contact-cta h2,
.contact-card h2,
.contact-tips h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.large-copy {
  color: #303a47;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.55;
}

.large-copy p:first-child {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 18px;
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 850;
}

.services-section {
  background: var(--paper);
}

.section-heading {
  max-width: 1000px;
  margin-bottom: 58px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 20px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.service-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 34px;
  background: var(--paper-light);
}

.service-card:hover {
  background: #e9f7f6;
}

.card-number {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.service-card h3 {
  margin: 30px 0 16px;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.service-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
}

.service-card a,
.resource-grid a {
  min-height: 48px;
  margin-top: auto;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 850;
}

.dark-section {
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.dark-grid {
  align-items: center;
}

.dark-grid > div > p:last-child {
  color: #aeb8c7;
  font-size: 20px;
}

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

.process-heading {
  max-width: 980px;
}

.process-heading > p:last-child {
  max-width: 820px;
  color: #aeb8c7;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 30px;
  background: #0d1b2e;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-list > li > span {
  display: block;
  margin-bottom: 24px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 900;
}

.process-list > li > span::after {
  content: ".";
}

.process-list h3,
.process-list p {
  margin: 0;
}

.process-list h3 {
  font-size: 24px;
}

.process-list p {
  margin-top: 12px;
  color: #aeb8c7;
  font-size: 16px;
}

.expertise-section {
  background: var(--paper-light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(54px, 9vw, 150px);
  align-items: center;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  padding: 20px 20px 0;
  background: var(--blue);
}

.portrait-card::before {
  display: none;
}

.portrait-card img {
  width: 100%;
  background: transparent;
  filter: contrast(1.02) saturate(1.03);
}

.portrait-card span,
.portrait-card small {
  position: absolute;
  z-index: 2;
  left: 28px;
  color: var(--white);
}

.portrait-card span {
  bottom: 38px;
  font-weight: 850;
}

.portrait-card small {
  bottom: 17px;
  color: #dbe4ff;
}

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

.check-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-weight: 900;
}

.resources-section {
  background: var(--paper);
}

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

.resource-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
}

.resource-grid span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-grid h3 {
  margin: 32px 0 15px;
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.resource-grid p {
  color: var(--muted);
  font-size: 16px;
}

.contact-cta {
  background: var(--lime);
}

.contact-cta .eyebrow {
  color: var(--ink);
}

.contact-cta-inner > div:last-child p {
  margin-top: 0;
  font-size: 20px;
}

.subpage-hero {
  padding: 52px 0 84px;
  background: radial-gradient(circle at 85% 10%, rgba(10, 159, 153, 0.12), transparent 30%), var(--paper);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 72px;
  color: var(--muted);
  font-size: 14px;
}

.subpage-hero h1 {
  font-size: clamp(42px, 4.3vw, 64px);
}

.subpage-lead {
  max-width: 1120px;
  margin: 34px 0 0;
  color: #303a47;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.55;
}

.subpage-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 50px;
}

.subpage-highlights span {
  display: flex;
  min-width: 230px;
  min-height: 72px;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.article-author img {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
}

.article-author p {
  margin: 0;
}

.article-author-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.article-author-name a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}

.subpage-highlights b {
  color: var(--blue);
  font-size: 13px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
  padding-top: 90px;
  padding-bottom: 116px;
}

.article-content {
  min-width: 0;
}

.article-content > section {
  margin-bottom: 80px;
}

.article-content h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.article-content h3 {
  font-size: 25px;
}

.article-content p,
.article-content li {
  color: #303a47;
}

.article-content p {
  margin: 0 0 24px;
}

.article-content ul {
  margin: 34px 0;
  padding: 26px 30px 26px 52px;
  background: var(--paper-light);
  border-left: 6px solid var(--blue);
}

.article-content li + li {
  margin-top: 10px;
}

.side-contact {
  position: sticky;
  top: 120px;
  padding: 30px;
  background: var(--navy);
  color: var(--white);
}

.side-contact h2 {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.side-contact p {
  color: #b7c1cf;
  font-size: 16px;
}

.side-contact .button {
  width: 100%;
  margin: 14px 0 20px;
}

.side-contact > a:not(.button) {
  display: block;
  min-height: 48px;
  padding: 10px 0;
  color: var(--white);
  font-size: 15px;
}

.page-faq details {
  border-top: 1px solid var(--line);
}

.page-faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.page-faq summary {
  min-height: 68px;
  padding: 20px 44px 20px 0;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.page-faq summary::-webkit-details-marker {
  display: none;
}

.page-faq summary::after {
  float: right;
  color: var(--blue);
  content: "+";
  font-size: 26px;
}

.page-faq details[open] summary::after {
  content: "−";
}

.page-faq details p {
  max-width: 800px;
  margin: 0;
  padding: 0 44px 24px 0;
  color: var(--muted);
}

.narrow-content {
  max-width: 940px;
  padding-top: 80px;
  padding-bottom: 110px;
}

.about-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: start;
  padding-top: 90px;
  padding-bottom: 116px;
}

.about-photo {
  position: sticky;
  top: 120px;
  padding: 20px 20px 0;
  background: var(--blue);
}

.about-photo img {
  width: 100%;
  filter: grayscale(1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 80px;
  padding-bottom: 116px;
}

.contact-card,
.contact-tips {
  padding: clamp(28px, 5vw, 62px);
  background: var(--paper-light);
  border: 1px solid var(--line);
}

.contact-card dl {
  margin: 38px 0;
}

.contact-card dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  color: var(--muted);
  font-size: 14px;
}

.contact-card dd {
  margin: 0;
  font-weight: 700;
}

.contact-tips .check-list {
  grid-template-columns: 1fr;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  padding-top: 80px;
  padding-bottom: 116px;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.glossary-grid article {
  min-height: 180px;
  padding: 28px;
  background: var(--paper-light);
}

.glossary-grid h2 {
  margin: 0 0 15px;
  color: var(--blue-dark);
  font-size: 25px;
  letter-spacing: -0.03em;
}

.glossary-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.legal-hero {
  padding-bottom: 68px;
}

.legal-content > section {
  margin-bottom: 58px;
}

.site-footer {
  padding: 82px 0 28px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 54px;
}

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

.brand-footer .brand-image {
  width: 320px;
}

.footer-grid > div:first-child > p {
  max-width: 390px;
  color: #afbac8;
  font-size: 16px;
}

.footer-small {
  font-size: 13px !important;
}

.footer-grid h2 {
  margin: 8px 0 18px;
  color: var(--lime);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.footer-grid a,
.footer-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #dbe2ec;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-button:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #98a4b5;
  font-size: 12px;
}

.cookie-overlay[hidden] {
  display: none !important;
}

.cookie-overlay {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: rgba(7, 17, 31, 0.62);
}

.cookie-panel {
  width: min(960px, 100%);
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper-light);
  border-top: 7px solid var(--blue);
  box-shadow: var(--shadow);
}

.cookie-panel h2 {
  margin: 0 0 12px;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.cookie-panel > p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 15px;
}

.cookie-settings {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.cookie-settings label {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.cookie-settings span {
  display: grid;
}

.cookie-settings small {
  color: var(--muted);
}

.cookie-settings input {
  width: 24px;
  height: 24px;
  accent-color: var(--blue);
}

.back-to-top {
  position: fixed;
  z-index: 150;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 26px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

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

@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 88px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 88px);
    overflow-y: auto;
    padding: 18px 32px 32px;
    background: var(--paper-light);
    border-bottom: 1px solid var(--line);
  }

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

  .main-nav > a,
  .nav-services-label {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-services-label {
    display: none;
  }

  .nav-dropdown {
    position: static;
    width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown a {
    border-bottom: 1px solid var(--line);
  }

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

  .hero-copy {
    z-index: 2;
  }

  .hero-visual {
    width: min(700px, 100%);
    min-height: 620px;
    margin-inline: auto;
  }

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

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

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

  .footer-grid > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .shell {
    width: min(100% - 36px, 680px);
  }

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

  .main-nav {
    top: 74px;
  }

  .brand-image {
    width: 190px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero h1,
  .subpage-hero h1 {
    font-size: clamp(34px, 9.5vw, 48px);
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts > div {
    min-height: 80px;
  }

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

  .hero-code-card {
    width: 150px;
    height: 165px;
    padding: 18px;
  }

  .hero-score {
    width: 160px;
    min-height: 140px;
  }

  .section {
    padding: 80px 0;
  }

  .split-heading,
  .dark-grid,
  .contact-cta-inner,
  .expertise-grid,
  .content-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .resource-grid,
  .glossary-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 0;
  }

  .side-contact,
  .about-photo {
    position: static;
  }

  .about-photo {
    max-width: 420px;
  }

  .content-layout,
  .about-grid,
  .contact-grid,
  .narrow-content,
  .glossary-grid {
    padding-top: 64px;
    padding-bottom: 84px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / 3;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .hero-actions,
  .contact-buttons,
  .cookie-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .hero-blue-block {
    width: 72%;
    left: 8%;
  }

  .hero-code-card {
    top: 36%;
    transform: scale(0.8);
    transform-origin: left center;
  }

  .hero-score {
    bottom: 7%;
    transform: scale(0.82);
    transform-origin: right bottom;
  }

  .service-card,
  .resource-grid article {
    min-height: auto;
  }

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

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .cookie-overlay {
    padding: 0;
  }

  .cookie-panel {
    max-height: 92vh;
    overflow-y: auto;
  }
}

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

/* Kierunek 2 - ciemny, technologiczny wariant premium */
:root {
  --paper: #07111f;
  --paper-light: #0a1728;
  --ink: #f4f8fc;
  --muted: #a9b8ca;
  --line: #25364d;
  --blue: #2b8cff;
  --blue-dark: #63a8ff;
  --lime: #20c9a6;
  --navy: #050b14;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  background: rgba(5, 11, 20, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.brand::before {
  display: none;
}

.main-nav > a,
.nav-services-label {
  color: var(--white);
}

.main-nav > a.nav-cta {
  min-height: 48px;
  padding: 0 18px;
  background: var(--blue);
  color: var(--white);
}

.main-nav > a.nav-cta:hover {
  background: #1578ed;
  color: var(--white);
}

.nav-dropdown {
  background: #0d1b2e;
  border-color: var(--line);
}

.nav-dropdown a {
  color: var(--white);
}

.nav-dropdown a:hover {
  background: #112743;
  color: var(--lime);
}

.menu-toggle {
  border-color: var(--white);
}

.menu-toggle span {
  background: var(--white);
}

.hero {
  background:
    radial-gradient(circle at 75% 30%, rgba(43, 140, 255, 0.18), transparent 30%),
    radial-gradient(circle at 58% 70%, rgba(32, 201, 166, 0.08), transparent 28%),
    var(--paper);
}

.hero-lead,
.large-copy,
.split-heading .large-copy,
.section-heading > p:last-child,
.subpage-lead,
.contact-cta-inner > div:last-child p {
  color: var(--muted);
}

.direct-cooperation {
  max-width: 760px;
  margin: 18px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--lime);
  color: #dce8f5;
  font-size: 16px;
}

.content-meta {
  margin: 0 0 28px;
  color: #536e87;
  font-size: 13px;
}

.glossary-intro {
  max-width: 850px;
  margin: 48px 0 18px;
  color: #334b63;
  font-size: 15px;
}

.reference-transcript {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reference-transcript summary {
  min-height: 48px;
  padding: 12px 0;
  color: #0757b5;
  cursor: pointer;
  font-weight: 800;
}

.reference-transcript div {
  padding: 4px 0 18px;
}

.reference-transcript p {
  color: #334b63;
  font-size: 15px;
}

.hero-blue-block {
  width: 100%;
  height: 100%;
  inset: 0;
  background: radial-gradient(circle at 55% 42%, rgba(43, 140, 255, 0.18), transparent 44%);
  border: 0;
  border-radius: 0;
}

.hero-grid-lines {
  width: 100%;
  height: 100%;
  inset: 0;
  background-image: linear-gradient(rgba(43, 140, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 140, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, transparent, #000 18%, #000);
}

.hero-photo {
  height: 94%;
  filter: contrast(1.05) saturate(1.03) drop-shadow(0 24px 36px rgba(0, 0, 0, 0.45));
}

.hero-orbit {
  border-color: rgba(32, 201, 166, 0.5);
}

.hero-orbit::before,
.hero-orbit::after {
  background: rgba(32, 201, 166, 0.5);
}

.hero-chart {
  border-bottom-color: var(--blue);
}

.hero-facts > div {
  background: rgba(10, 23, 40, 0.76);
  border: 1px solid #30445e;
}

.hero-facts > div:last-child {
  border-right: 1px solid #30445e;
}

.fact-icon {
  background: rgba(32, 201, 166, 0.1);
  border-color: rgba(32, 201, 166, 0.4);
  color: var(--lime);
}

.button-secondary {
  border-color: #58718f;
  color: #d7e3f0;
}

.button-secondary:hover {
  background: #10233b;
  color: var(--white);
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--white);
}

.intro-section,
.expertise-section,
.subpage-hero {
  background: var(--paper-light);
}

.subpage-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.subpage-hero::before {
  position: absolute;
  z-index: 0;
  top: -12%;
  right: -3%;
  width: 42%;
  height: 124%;
  background:
    radial-gradient(circle at 64% 48%, rgba(32, 201, 166, 0.09), transparent 36%),
    linear-gradient(rgba(43, 140, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 140, 255, 0.13) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 62% 50%, #000 12%, rgba(0, 0, 0, 0.78) 42%, transparent 76%);
  mask-image: radial-gradient(ellipse at 62% 50%, #000 12%, rgba(0, 0, 0, 0.78) 42%, transparent 76%);
}

.subpage-hero > .shell {
  position: relative;
  z-index: 1;
}

.services-section,
.resources-section,
.references-section {
  background: var(--paper);
}

.service-grid,
.glossary-grid {
  background: #2a3c54;
  border-color: #2a3c54;
}

.service-card,
.resource-grid article,
.glossary-grid article,
.subpage-highlights span,
.contact-card,
.contact-tips {
  background: #0d1b2e;
  border-color: var(--line);
}

.service-card:hover {
  background: #112743;
}

.service-card p,
.resource-grid p,
.glossary-grid p,
.article-content p,
.article-content li,
.page-faq details p {
  color: var(--muted);
}

.resource-grid h3,
.glossary-grid h2,
.article-content h2,
.article-content h3 {
  color: var(--ink);
}

.article-content ul {
  background: #0d1b2e;
}

.portrait-card {
  background: transparent;
}

.portrait-card::before {
  position: absolute;
  inset: -2px;
  display: block;
  background:
    radial-gradient(circle at 70% 30%, rgba(43, 140, 255, 0.24), transparent 38%),
    linear-gradient(rgba(43, 140, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 140, 255, 0.08) 1px, transparent 1px),
    #07111f;
  background-size: auto, 42px 42px, 42px 42px, auto;
  content: "";
  -webkit-mask-image: radial-gradient(
    ellipse 50% 50% at center,
    #000 0 52%,
    rgba(0, 0, 0, 0.86) 64%,
    rgba(0, 0, 0, 0.5) 76%,
    rgba(0, 0, 0, 0.16) 89%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 50% at center,
    #000 0 52%,
    rgba(0, 0, 0, 0.86) 64%,
    rgba(0, 0, 0, 0.5) 76%,
    rgba(0, 0, 0, 0.16) 89%,
    transparent 100%
  );
  pointer-events: none;
}

.portrait-card img {
  position: relative;
  z-index: 1;
  background: transparent;
  filter: contrast(1.03) saturate(1.04);
}

.about-photo {
  background: #0d3157;
}

.contact-cta {
  background: var(--lime);
  color: #04121e;
}

.contact-cta .eyebrow,
.contact-cta h2,
.contact-cta p {
  color: #04121e;
}

.contact-cta .button-dark {
  background: #04121e;
  color: var(--white);
}

.breadcrumbs,
.breadcrumbs a {
  color: #9fb2c7;
}

.side-contact {
  background: #0d1b2e;
  border: 1px solid var(--line);
}

.references-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(48px, 8vw, 130px);
  align-items: start;
  margin-bottom: 70px;
}

.references-intro h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.references-intro > p {
  margin-top: 0;
  color: var(--muted);
  font-size: 20px;
}

.references-grid {
  display: grid;
  gap: 32px;
}

.reference-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  padding: clamp(28px, 5vw, 64px);
  background: #0d1b2e;
  border: 1px solid var(--line);
}

.reference-card:nth-child(even) .reference-copy {
  order: 2;
}

.reference-year {
  color: var(--lime);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-card h2 {
  margin: 18px 0 24px;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.reference-card p,
.reference-card li {
  color: var(--muted);
}

.reference-card ul {
  margin: 30px 0 0;
  padding-left: 22px;
}

.reference-card figure {
  margin: 0;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.reference-card figure a {
  display: block;
}

.reference-card figure img {
  width: 100%;
}

.reference-card figcaption {
  padding-top: 12px;
  color: #53616e;
  font-size: 13px;
  text-align: center;
}

.cookie-panel {
  background: #f4f8fc;
  color: #07111f;
}

.cookie-panel .eyebrow,
.cookie-panel a {
  color: #176ec9;
}

.cookie-panel .button-ghost {
  color: #07111f;
}

.contact-cta-inner > div:last-child p {
  color: #04121e;
}

.cookie-panel > p,
.cookie-settings small {
  color: #334b63;
}

.cookie-panel .button-secondary {
  border-color: #0968d7;
  background: #ffffff;
  color: #0757b5;
}

.cookie-panel .button-secondary:hover {
  border-color: #0757b5;
  background: #e7f1fc;
  color: #064a99;
}

.button-primary,
.main-nav > a.nav-cta {
  background: #0968d7;
  color: #ffffff;
}

.button-primary:hover,
.main-nav > a.nav-cta:hover {
  background: #0757b5;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .main-nav {
    background: #0a1728;
  }

  .main-nav > a.nav-cta {
    margin-top: 10px;
    justify-content: center;
  }

  .subpage-hero::before {
    right: -8%;
    width: 46%;
    opacity: 0.65;
  }
}

@media (max-width: 820px) {
  .subpage-hero::before {
    display: none;
  }

  .references-intro,
  .reference-card {
    grid-template-columns: 1fr;
  }

  .reference-card:nth-child(even) .reference-copy {
    order: 0;
  }
}
