@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/Gilroy-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --red: #ee462a;
  --orange: #e57f4c;
  --yellow: #fed61b;
  --ink: #211d1e;
  --ink-soft: #4d494a;
  --paper: #f8f5ef;
  --paper-dark: #eee9df;
  --white: #ffffff;
  --line: rgba(33, 29, 30, 0.15);
  --line-light: rgba(255, 255, 255, 0.16);
  --focus: #8b310f;
  --radius: 30px;
  --content: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 11px 15px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 90px;
  padding: 14px clamp(22px, 4vw, 68px);
  display: grid;
  grid-template-columns: minmax(165px, 245px) 1fr auto auto;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.94);
  backdrop-filter: blur(18px);
}

.nexos-brand {
  width: min(220px, 100%);
  display: block;
}

.nexos-brand img {
  width: 100%;
  display: block;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red);
  transition: transform 180ms ease;
}

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

.header-action {
  min-height: 44px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms ease;
}

.header-action:hover {
  transform: translateY(-2px);
  background: var(--red);
}

.partner-badge {
  width: 150px;
  height: 48px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
}

main {
  overflow: hidden;
}

.hero {
  width: min(var(--content), 100%);
  min-height: calc(100vh - 90px);
  margin: 0 auto;
  padding: clamp(70px, 7vw, 116px) clamp(22px, 5vw, 80px) clamp(68px, 7vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: clamp(44px, 6vw, 94px);
}

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

.eyebrow,
.section-kicker {
  margin: 0 0 20px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: clamp(60px, 6.2vw, 102px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h1 span {
  display: block;
  color: var(--red);
}

.lead {
  max-width: 690px;
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.62;
}

.actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 21px;
}

.primary-button {
  min-height: 58px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(25px, 3vw, 44px);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--red);
}

.primary-button span,
.text-link span {
  font-size: 18px;
  line-height: 1;
}

.text-link {
  padding: 11px 2px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration-line: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.destination-note {
  max-width: 610px;
  margin: 22px 0 0;
  color: #6f696a;
  font-size: 12px;
  line-height: 1.6;
}

.destination-note a {
  font-weight: 800;
  text-underline-offset: 3px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 18% 16%, rgba(254, 214, 27, 0.95), transparent 22%),
    linear-gradient(145deg, #fa8a42 0%, var(--red) 54%, #bc2921 100%);
  box-shadow: 0 35px 90px rgba(111, 38, 22, 0.27);
  color: var(--white);
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 590px;
  height: 590px;
  right: -230px;
  top: -170px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 50%;
  box-shadow: 0 0 0 78px rgba(255, 255, 255, 0.035), 0 0 0 160px rgba(255, 255, 255, 0.025);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom right, black, transparent 70%);
}

.hero-symbol {
  position: absolute;
  z-index: 2;
  top: 38px;
  left: 38px;
  width: 78px;
}

.visual-heading {
  position: absolute;
  z-index: 2;
  top: 150px;
  left: 42px;
}

.visual-heading span {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visual-heading strong {
  display: block;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.visual-steps {
  position: absolute;
  z-index: 2;
  right: 34px;
  bottom: 37px;
  left: 34px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  list-style: none;
}

.visual-steps li {
  min-height: 52px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(79, 15, 13, 0.15);
  backdrop-filter: blur(7px);
  font-size: 12px;
  font-weight: 800;
}

.visual-steps span {
  color: var(--yellow);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
}

.visual-badge {
  position: absolute;
  z-index: 3;
  top: 34px;
  right: 30px;
  width: 166px;
  padding: 9px 14px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
}

.visual-badge img {
  display: block;
}

.trust-strip {
  width: min(var(--content), calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip article {
  min-height: 138px;
  padding: 30px clamp(18px, 2.5vw, 35px);
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  border-right: 1px solid var(--line);
}

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

.trust-strip article > span,
.situation-card > span,
.service-grid article > span,
.model-grid article > span {
  color: var(--red);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
}

.trust-strip strong {
  display: block;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.trust-strip p {
  margin: 8px 0 0;
  color: #756f70;
  font-size: 12px;
  line-height: 1.55;
}

.section {
  width: min(var(--content), 100%);
  margin: 0 auto;
  padding: clamp(90px, 9vw, 148px) clamp(22px, 5vw, 80px);
}

.section-intro {
  max-width: 910px;
  margin-bottom: clamp(48px, 6vw, 82px);
}

.section-intro.compact {
  max-width: 800px;
  margin-bottom: 46px;
}

.section h2,
.integration-band h2,
.contact-section h2 {
  margin: 0;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: clamp(43px, 4.6vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-intro > p:last-child,
.advantages-copy > p,
.integration-band > div > p:last-child,
.nexos-copy > p,
.contact-main > p {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.situation-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.situation-card {
  min-height: 305px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.situation-card:hover {
  z-index: 1;
  transform: translateY(-5px);
  background: var(--white);
}

.situation-card h3,
.service-grid h3,
.model-grid h3 {
  margin: 48px 0 15px;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.15;
}

.situation-card p,
.service-grid p,
.model-grid p {
  margin: 0;
  color: #696364;
  font-size: 13px;
  line-height: 1.65;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-inline: max(clamp(22px, 5vw, 80px), calc((100vw - var(--content)) / 2 + 80px));
  background:
    radial-gradient(circle at 87% 9%, rgba(238, 70, 42, 0.25), transparent 30rem),
    var(--ink);
  color: var(--white);
}

.section-intro-light > p:last-child {
  color: rgba(255, 255, 255, 0.68);
}

.section-dark .section-kicker {
  color: var(--yellow);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.service-grid article {
  min-height: 300px;
  padding: 27px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background 180ms ease;
}

.service-grid article:hover {
  background: rgba(238, 70, 42, 0.14);
}

.service-grid article > span {
  color: var(--yellow);
}

.service-grid h3 {
  color: var(--white);
}

.service-grid p {
  color: rgba(255, 255, 255, 0.65);
}

.modules {
  background: var(--paper);
}

.module-browser {
  display: grid;
  grid-template-columns: minmax(235px, 0.32fr) 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(67, 48, 43, 0.1);
}

.module-tabs {
  padding: 18px;
  display: flex;
  flex-direction: column;
  background: var(--paper-dark);
}

.module-tabs button {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.module-tabs button:last-child {
  border-bottom: 0;
}

.module-tabs button:hover {
  color: var(--red);
  padding-left: 20px;
}

.module-tabs button[aria-selected="true"] {
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
}

.module-panels {
  min-height: 540px;
  background:
    linear-gradient(135deg, rgba(254, 214, 27, 0.14), transparent 45%),
    var(--white);
}

.module-panels article {
  min-height: 540px;
  padding: clamp(38px, 5vw, 74px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: clamp(35px, 5vw, 75px);
}

.module-panels article[hidden] {
  display: none;
}

.module-panels article > div > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.module-panels h3 {
  max-width: 630px;
  margin: 23px 0;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: clamp(38px, 4vw, 59px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.module-panels p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.module-panels ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.module-panels li {
  padding: 17px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.module-panels li::before {
  content: "↗";
  margin-right: 11px;
  color: var(--red);
}

.advantages {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: clamp(60px, 8vw, 130px);
  background: var(--paper-dark);
}

.advantages-copy {
  align-self: start;
  position: sticky;
  top: 135px;
}

.advantages-copy .text-link {
  display: inline-block;
  margin-top: 28px;
}

.advantage-list {
  border-top: 1px solid var(--line);
}

.advantage-list article {
  min-height: 156px;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.advantage-list article > span {
  color: var(--red);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 20px;
}

.advantage-list h3 {
  margin: 0 0 10px;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.advantage-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.access-models {
  padding-top: 112px;
  padding-bottom: 112px;
}

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

.model-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.model-grid h3 {
  margin-top: 38px;
}

.fine-print {
  margin: 20px 0 0;
  color: #746e6f;
  font-size: 11px;
  line-height: 1.6;
}

.implementation {
  background:
    radial-gradient(circle at 6% 38%, rgba(254, 214, 27, 0.24), transparent 20rem),
    var(--paper);
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--line);
}

.timeline li {
  position: relative;
  min-height: 245px;
  padding: 0 30px 32px 0;
}

.timeline li:nth-child(n + 5) {
  margin-top: 48px;
}

.timeline li > span {
  position: relative;
  z-index: 2;
  width: 61px;
  height: 61px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
}

.timeline h3 {
  margin: 30px 0 12px;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.integration-band {
  width: 100%;
  padding: clamp(88px, 9vw, 142px) max(clamp(22px, 5vw, 80px), calc((100vw - var(--content)) / 2 + 80px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 120px);
  background: linear-gradient(135deg, #f0a346 0%, var(--red) 62%, #c93227 100%);
  color: var(--white);
}

.integration-band .section-kicker {
  color: var(--yellow);
}

.integration-band > div > p:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.integration-band ul {
  align-self: center;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  list-style: none;
}

.integration-band li {
  min-height: 92px;
  padding: 22px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 800;
}

.integration-band li::before {
  content: "↗";
  margin-right: 12px;
  color: var(--yellow);
  font-size: 18px;
}

.nexos-section {
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 8vw, 126px);
  align-items: center;
}

.nexos-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  background-image: url("assets/nexos-zespol.jpg");
  background-size: cover;
  background-position: center;
  box-shadow: 0 30px 80px rgba(86, 43, 24, 0.2);
}

.nexos-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(33, 29, 30, 0.12), transparent 45%);
}

.nexos-copy > p {
  max-width: 670px;
}

.synergy-panel {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(70, 45, 38, 0.08);
}

.synergy-panel > span {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.synergy-panel p {
  margin: 15px 0 22px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.synergy-panel ul {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
}

.synergy-panel li {
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: var(--paper-dark);
  font-size: 12px;
  font-weight: 700;
}

.synergy-panel li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--red));
}

.nexos-points {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.nexos-points article {
  min-height: 180px;
  padding: 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.nexos-points h3 {
  margin: 0 0 13px;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.nexos-points p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.support {
  background: var(--paper-dark);
}

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

.support-grid article {
  min-height: 220px;
  padding: 30px;
  border-radius: 22px;
  background: var(--white);
}

.support-grid strong {
  display: block;
  padding-top: 52px;
  position: relative;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
}

.support-grid strong::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--red));
}

.support-grid p {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.faq {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(55px, 8vw, 130px);
}

.faq .section-intro {
  margin-bottom: 0;
}

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

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

.faq-list summary {
  position: relative;
  padding: 25px 55px 25px 0;
  list-style: none;
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  cursor: pointer;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 22px;
  right: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: "Gilroy", "Segoe UI", Arial, sans-serif;
  font-size: 19px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--red);
}

.faq-list details p {
  max-width: 760px;
  margin: -5px 50px 28px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.contact-section {
  width: min(var(--content), calc(100% - 44px));
  margin: 0 auto clamp(22px, 4vw, 60px);
  padding: clamp(55px, 7vw, 100px);
  display: grid;
  grid-template-columns: 90px minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(35px, 5vw, 80px);
  align-items: start;
  overflow: hidden;
  border-radius: 38px;
  background:
    radial-gradient(circle at 8% 15%, rgba(254, 214, 27, 0.95), transparent 13rem),
    linear-gradient(145deg, #f38f3e, var(--red) 62%, #c93227);
  color: var(--white);
}

.contact-mark img {
  width: 78px;
}

.contact-section .section-kicker {
  color: var(--yellow);
}

.contact-main > p {
  color: rgba(255, 255, 255, 0.8);
}

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

.primary-button-light:hover {
  background: var(--yellow);
  color: var(--ink);
}

.contact-actions {
  align-items: flex-start;
  flex-direction: column;
}

.partner-verification-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.partner-verification-button:hover {
  transform: translateY(-2px);
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.contact-details {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}

.contact-details > span {
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-details a {
  width: fit-content;
  font-size: 18px;
  font-weight: 850;
  text-underline-offset: 5px;
}

.company-data {
  margin-top: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.company-data strong,
.company-data span {
  display: block;
}

.company-data strong {
  font-size: 13px;
  line-height: 1.45;
}

.company-data span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.55;
}

.contact-details p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.7;
}

.contact-details p strong {
  color: var(--white);
  font-weight: 600;
}

.site-footer {
  padding: 48px max(clamp(22px, 5vw, 80px), calc((100vw - var(--content)) / 2 + 80px));
  display: grid;
  grid-template-columns: 230px 1fr auto 170px;
  align-items: center;
  gap: clamp(25px, 4vw, 60px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.65;
}

.footer-logo {
  display: block;
}

.footer-logo img {
  width: 100%;
  display: block;
}

.footer-copy strong,
.footer-copy span {
  display: block;
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links a {
  width: fit-content;
  text-underline-offset: 4px;
}

.footer-partner {
  width: 170px;
  max-height: 56px;
  object-fit: contain;
  padding: 8px 11px;
  border-radius: 12px;
  background: var(--white);
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(160px, 215px) 1fr auto;
  }

  .partner-badge {
    display: none;
  }

  .site-nav {
    gap: 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.84fr);
  }

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

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

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

  .timeline li:nth-child(n + 4) {
    margin-top: 48px;
  }

  .nexos-section {
    grid-template-columns: minmax(360px, 0.78fr) 1.22fr;
  }

  .nexos-image {
    min-height: 560px;
  }

  .site-footer {
    grid-template-columns: 210px 1fr auto;
  }

  .footer-partner {
    display: none;
  }
}

@media (max-width: 940px) {
  html {
    scroll-padding-top: 76px;
  }

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

  .header-action {
    justify-self: end;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 17px;
    height: 2px;
    display: block;
    background: var(--white);
    transition: transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 18px 24px 26px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 20px 40px rgba(33, 29, 30, 0.1);
  }

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

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

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

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

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

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

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

  .module-browser {
    grid-template-columns: 1fr;
  }

  .module-tabs {
    overflow-x: auto;
    flex-direction: row;
    gap: 8px;
    scrollbar-width: thin;
  }

  .module-tabs button {
    width: auto;
    min-width: max-content;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .module-tabs button:last-child {
    border: 1px solid var(--line);
  }

  .module-tabs button[aria-selected="true"] {
    border-color: var(--red);
    border-radius: 999px;
  }

  .advantages,
  .nexos-section,
  .faq {
    grid-template-columns: 1fr;
  }

  .advantages-copy {
    position: static;
  }

  .integration-band {
    grid-template-columns: 1fr;
  }

  .nexos-image {
    min-height: 520px;
  }

  .faq .section-intro {
    margin-bottom: 10px;
  }

  .contact-section {
    grid-template-columns: 70px 1fr;
  }

  .contact-details {
    grid-column: 2;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }

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

  .footer-links {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }
}

@media (max-width: 680px) {
  :root {
    --radius: 24px;
  }

  .site-header {
    padding: 10px 18px;
    grid-template-columns: minmax(135px, 175px) 1fr auto;
    gap: 12px;
  }

  .header-action {
    display: none;
  }

  .hero {
    padding: 54px 20px 64px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 70px);
  }

  .lead {
    font-size: 16px;
  }

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

  .primary-button {
    width: 100%;
    padding: 0 19px;
    gap: 15px;
    text-align: center;
  }

  .text-link {
    text-align: center;
  }

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

  .hero-symbol {
    top: 24px;
    left: 24px;
    width: 62px;
  }

  .visual-badge {
    top: 23px;
    right: 19px;
    width: 140px;
  }

  .visual-heading {
    top: 131px;
    left: 24px;
  }

  .visual-heading strong {
    font-size: 39px;
  }

  .visual-steps {
    right: 17px;
    bottom: 20px;
    left: 17px;
    grid-template-columns: 1fr;
  }

  .visual-steps li {
    min-height: 45px;
  }

  .trust-strip {
    width: calc(100% - 40px);
  }

  .section {
    padding: 82px 20px;
  }

  .section h2,
  .integration-band h2,
  .contact-section h2 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .section-intro > p:last-child,
  .advantages-copy > p,
  .integration-band > div > p:last-child,
  .nexos-copy > p,
  .contact-main > p {
    font-size: 15px;
  }

  .situation-grid,
  .service-grid,
  .model-grid,
  .support-grid,
  .nexos-points,
  .integration-band ul {
    grid-template-columns: 1fr;
  }

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

  .situation-card,
  .service-grid article {
    min-height: 255px;
  }

  .section-dark {
    padding-inline: 20px;
  }

  .module-browser {
    border-radius: 20px;
  }

  .module-tabs {
    padding: 12px;
  }

  .module-panels,
  .module-panels article {
    min-height: auto;
  }

  .module-panels article {
    padding: 40px 24px;
    grid-template-columns: 1fr;
  }

  .module-panels h3 {
    font-size: 40px;
  }

  .advantages {
    gap: 48px;
  }

  .advantage-list article {
    grid-template-columns: 42px 1fr;
  }

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 30px;
    width: 1px;
    height: auto;
  }

  .timeline li,
  .timeline li:nth-child(n + 4),
  .timeline li:nth-child(n + 5) {
    min-height: auto;
    margin-top: 0;
    padding: 0 0 42px 87px;
  }

  .timeline li > span {
    position: absolute;
    left: 0;
  }

  .timeline h3 {
    margin-top: 0;
  }

  .integration-band {
    padding: 82px 20px;
  }

  .integration-band li {
    min-height: 76px;
  }

  .nexos-image {
    min-height: 480px;
    background-position: 62% center;
  }

  .support-grid article {
    min-height: 190px;
  }

  .faq {
    gap: 45px;
  }

  .faq-list summary {
    font-size: 19px;
  }

  .contact-section {
    width: calc(100% - 24px);
    margin-bottom: 12px;
    padding: 47px 22px;
    grid-template-columns: 1fr;
    border-radius: 27px;
  }

  .contact-mark img {
    width: 62px;
  }

  .contact-details {
    grid-column: 1;
  }

  .contact-details a {
    font-size: 16px;
  }

  .site-footer {
    padding: 42px 20px;
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 220px;
  }

  .footer-links {
    grid-column: 1;
  }
}

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

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