:root {
  --red: #c8202e;
  --red-dark: #a81825;
  --green: #1a8a4a;
  --green-dark: #15703c;
  --accent: var(--red);
  --accent-dark: var(--red-dark);
  --ink: #1f2a33;
  --ink-soft: #2b3a45;
  --grey: #8a929a;
  --line: #e7eaed;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --footer: #1c252c;
  --footer-deep: #161d22;
  --radius-pill: 40px;
  --shadow: 0 18px 40px rgba(20, 35, 50, 0.12);
  --header-h: 76px;
}

body.mode-company {
  --accent: var(--green);
  --accent-dark: var(--green-dark);
}

body.mode-company .logo__text,
body.mode-company .red,
body.mode-company .eyebrow {
  color: var(--green);
}

body.mode-company .service__icon--red {
  background: var(--green);
}

body.mode-company .service:hover .service__icon--red::after {
  border-color: var(--green);
}

/* ===== Context: ekspert / firma ===== */
body:not(.mode-company) .context-company {
  display: none !important;
}

body:not(.mode-talent) .context-talent {
  display: none !important;
}

body.mode-talent .service-list.context-talent {
  display: grid;
}

body.mode-company .service-list.context-company {
  display: grid;
}

body.mode-talent .services-panel.context-talent {
  display: grid;
}

body.mode-company .services-panel.context-company {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

body.mode-company .services-panel .service-list {
  order: 1;
}

body.mode-company .services__lead {
  order: 2;
  position: static;
}

body.mode-company .services__lead--company h2 {
  color: var(--green);
}

.portfolio__intro {
  max-width: 720px;
  margin: 0.9rem auto 0;
  color: var(--grey);
  line-height: 1.55;
}

body.mode-company .portfolio__pillars li {
  background: var(--green);
  box-shadow: 0 2px 10px rgba(26, 138, 74, 0.22);
}

.service__icon--green {
  background: var(--green);
}

.service:hover .service__icon--green::after {
  border-color: var(--green);
}

* {
  box-sizing: border-box;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, Arial, sans-serif;
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: clip;
}

h1, h2, h3, h4, h5 {
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.red {
  color: var(--red);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 0.6rem;
}

.eyebrow--light {
  color: #f2b7bb;
}

.eyebrow--green {
  color: var(--green);
}

body.mode-company .improve .eyebrow {
  color: var(--green);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn--red {
  background: var(--red);
  color: #fff;
}

.btn--red:hover {
  background: var(--red-dark);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--green {
  background: var(--green);
  color: #fff;
}

.btn--green:hover {
  background: var(--green-dark);
}

/* ===== Top bar ===== */
.topbar {
  background: var(--footer-deep);
  color: #c9cfd4;
  font-size: 0.78rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
}

.topbar__contact,
.topbar__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.4rem;
}

.topbar__contact span {
  color: var(--red);
  font-weight: 600;
  margin-right: 0.35rem;
  letter-spacing: 0.04em;
}

.topbar__social a {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  text-transform: lowercase;
}

.topbar__social a:hover {
  background: var(--red);
  color: #fff;
}

/* Social links — temporarily hidden (remove block to restore) */
.topbar__social,
.footer__social,
.footer__col > h5:has(+ .footer__social) {
  display: none;
}

/* ===== Sticky top: menu + wybór roli ===== */
.site-top {
  position: sticky;
  top: 0;
  z-index: 51;
  background: #fff;
}

.site-top.is-scrolled {
  box-shadow: 0 8px 24px rgba(20, 35, 50, 0.1);
}

/* ===== Header ===== */
.header {
  position: relative;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transition: background 0.35s ease;
  pointer-events: none;
}

.header .header__inner {
  position: relative;
}

.header.is-scrolled {
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: 76px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}

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

.logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  line-height: 1;
  text-decoration: none;
}

.logo__text {
  font-family: "Orbitron", "Poppins", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.34rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--red);
  text-transform: uppercase;
}

.logo__hash {
  color: #3b424b;
}

.nav {
  display: flex;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  padding: 0.4rem 0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease, background 0.35s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

.nav a.is-active {
  color: var(--accent);
  transition: color 0.35s ease;
}

.header__icons {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  color: var(--ink);
  margin-left: auto;
}

.header-cta {
  flex-shrink: 0;
  margin-left: 0.65rem;
}

/* ===== Global perspective ===== */
.perspective-bar {
  position: relative;
  z-index: 1;
  padding: 2.1rem 0;
  border-bottom: 3px solid var(--line);
  border-left: 6px solid var(--accent);
  background: #fff;
  transition:
    padding 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

body.mode-talent .perspective-bar {
  background: linear-gradient(90deg, rgba(200, 32, 46, 0.2) 0%, rgba(200, 32, 46, 0.09) 42%, rgba(255, 255, 255, 0.98) 100%);
  border-bottom-color: rgba(200, 32, 46, 0.28);
}

body.mode-company .perspective-bar {
  background: linear-gradient(90deg, rgba(26, 138, 74, 0.2) 0%, rgba(26, 138, 74, 0.09) 42%, rgba(255, 255, 255, 0.98) 100%);
  border-bottom-color: rgba(26, 138, 74, 0.28);
}

.landing-route-bar a.perspective-switch__btn {
  text-decoration: none;
}

.perspective-bar.is-attention {
  box-shadow: 0 12px 36px rgba(20, 35, 50, 0.12);
}

.perspective-bar.is-attention .perspective-switch--prominent {
  animation: perspective-pulse 2.2s ease-in-out infinite;
}

@keyframes perspective-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 32, 46, 0.55);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(200, 32, 46, 0);
  }
}

body.mode-company .perspective-bar.is-attention .perspective-switch--prominent {
  animation-name: perspective-pulse-green;
}

@keyframes perspective-pulse-green {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 138, 74, 0.55);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(26, 138, 74, 0);
  }
}

@keyframes perspective-arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

.perspective-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  min-height: 7.5rem;
  transition: min-height 0.35s ease, gap 0.35s ease;
}

.perspective-bar__intro {
  flex: 1 1 280px;
  min-width: 0;
}

.perspective-bar__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fff;
  border: 2px solid var(--accent);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 14px rgba(20, 35, 50, 0.08);
}

.perspective-bar__eyebrow {
  display: block;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 0.45rem;
  line-height: 1.15;
}

.perspective-bar__hint {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 32rem;
}

.perspective-bar__hint strong {
  color: var(--ink);
}

.perspective-bar__controls {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex: 1 1 520px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.perspective-bar__arrow {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  animation: perspective-arrow-bounce 1.8s ease-in-out infinite;
  transition: opacity 0.25s ease, max-height 0.25s ease, margin 0.25s ease;
}

.perspective-bar__compact-label {
  display: none;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}

/* Kompaktowy pasek po scrollu — wysokość jak menu */
.perspective-bar.is-compact {
  padding: 0;
  border-left-width: 4px;
  box-shadow: 0 6px 20px rgba(20, 35, 50, 0.1);
}

.perspective-bar.is-compact .perspective-bar__inner {
  min-height: var(--header-h);
  flex-wrap: nowrap;
  gap: 1rem;
}

.perspective-bar.is-compact .perspective-bar__intro,
.perspective-bar.is-compact .perspective-bar__arrow {
  display: none;
}

.perspective-bar.is-compact .perspective-bar__compact-label {
  display: block;
}

.perspective-bar.is-compact .perspective-bar__controls {
  flex: 1 1 auto;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.75rem;
  width: 100%;
}

.perspective-bar.is-compact .perspective-switch--prominent {
  min-width: 0;
  border-width: 2px;
  box-shadow: none;
}

.perspective-bar.is-compact .perspective-switch--prominent .perspective-switch__btn {
  font-size: 0.66rem;
  padding: 0.55rem 0.85rem;
}

.perspective-bar.is-compact .perspective-switch {
  padding: 0.28rem;
}

.perspective-bar.is-compact .perspective-switch__indicator {
  top: 0.28rem;
  bottom: 0.28rem;
  left: 0.28rem;
  width: calc(50% - 0.28rem);
}

.perspective-bar.is-compact.is-attention .perspective-switch--prominent {
  animation: none;
}

.perspective-switch {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  padding: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  flex-shrink: 1;
  min-width: 0;
}

.perspective-switch--prominent {
  border: 3px solid rgba(200, 32, 46, 0.35);
  box-shadow: 0 10px 32px rgba(20, 35, 50, 0.16);
  min-width: min(100%, 560px);
}

body.mode-company .perspective-switch--prominent {
  border-color: rgba(26, 138, 74, 0.38);
}

.perspective-switch__indicator {
  position: absolute;
  top: 0.45rem;
  bottom: 0.45rem;
  left: 0.45rem;
  width: calc(50% - 0.45rem);
  border-radius: var(--radius-pill);
  background: var(--red);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), background 0.32s ease;
  z-index: 0;
  pointer-events: none;
}

.perspective-switch[data-active="company"] .perspective-switch__indicator {
  transform: translateX(100%);
  background: var(--green);
}

.perspective-switch__btn {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.perspective-switch--prominent .perspective-switch__btn {
  font-size: clamp(0.92rem, 1.5vw, 1.08rem);
  padding: 1.05rem 1.65rem;
}

.perspective-switch__icon {
  font-size: 0.72rem;
  line-height: 1;
  opacity: 0.9;
}

.perspective-switch__btn.is-active .perspective-switch__icon {
  color: #fff;
}

body.mode-talent .perspective-switch__btn[data-mode="talent"]:not(.is-active) .perspective-switch__icon {
  color: var(--red);
}

body.mode-company .perspective-switch__btn[data-mode="company"]:not(.is-active) .perspective-switch__icon {
  color: var(--green);
}

.perspective-switch__btn.is-active {
  color: #fff;
}

.perspective-switch__btn:hover:not(.is-active) {
  color: var(--ink);
  transform: translateY(-1px);
}

.header .perspective-cta {
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(20, 35, 50, 0.14);
}

.perspective-dock--mobile {
  display: none !important;
}

.perspective-dock__label {
  margin: 0 auto 0.65rem;
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
  line-height: 1.35;
}

.perspective-dock__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-right: 0.45rem;
  vertical-align: middle;
}

.perspective-dock__label strong {
  color: var(--accent);
  font-size: 1.05rem;
  margin-right: 0.35rem;
}

.perspective-dock__label span {
  color: var(--grey);
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
}

.perspective-dock--mobile__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 640px;
  margin: 0 auto;
}

.perspective-dock--mobile .perspective-switch {
  flex: 1 1 auto;
}

.perspective-dock--mobile .perspective-switch--prominent {
  min-width: 0;
  border-width: 3px;
}

.perspective-dock--mobile .perspective-switch__btn {
  font-size: 0.72rem;
  padding: 0.75rem 0.55rem;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.perspective-dock--mobile .perspective-cta {
  padding: 0.85rem 1.1rem;
  font-size: 0.72rem;
}

.perspective-dock--mobile.is-attention .perspective-switch--prominent {
  animation: perspective-pulse 2.2s ease-in-out infinite;
}

body.mode-company .perspective-dock--mobile.is-attention .perspective-switch--prominent {
  animation-name: perspective-pulse-green;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  height: 78vh;
  min-height: 520px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0) 62%),
    var(--img);
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide[hidden] {
  display: none !important;
}

.slide__content {
  max-width: min(780px, 100%);
}

.slide__kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem;
}

.slide .slide__title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 1.8rem;
  text-wrap: balance;
}

.slide .slide__title,
.slide .slide__title span {
  -webkit-text-stroke: clamp(1px, 0.14vw, 2px) #fff;
  paint-order: stroke fill;
}

.slide .slide__title .hero-line {
  display: block;
}

@media (min-width: 981px) and (max-width: 1200px) {
  .slide__content {
    max-width: min(820px, 78%);
  }

  .slide .slide__title {
    font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  }
}

.slide .slide__title .red {
  color: var(--red);
}

.slide .slide__title .green {
  color: var(--green);
}

.slide__actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(31, 42, 51, 0.6);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease;
}

.hero__arrow:hover {
  background: var(--red);
}

.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }

.hero__dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.hero__dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--red);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.hero__dots button.is-active {
  background: var(--red);
}

body.mode-company .hero__dots button {
  border-color: var(--green);
}

body.mode-company .hero__dots button.is-active {
  background: var(--green);
}

/* ===== Services ===== */
.services {
  padding: 5rem 0;
}

.services__grid {
  display: block;
}

.services-panel {
  display: none;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.services__lead {
  position: sticky;
  top: 100px;
}

.services__lead h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1.1rem;
}

.services__lead-text {
  color: var(--grey);
  font-size: 0.98rem;
  margin: 0 0 1.8rem;
  max-width: 380px;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.service {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease, background 0.3s ease;
}

.service:hover {
  transform: translateY(-4px);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.service__icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s ease;
}

.service__icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.service:hover .service__icon {
  transform: rotate(360deg) scale(1.08);
  box-shadow: 0 10px 22px rgba(200, 32, 46, 0.28);
}

.service:hover .service__icon::after {
  opacity: 0.4;
  transform: scale(1);
}

.service__icon--dark { background: var(--ink); }
.service__icon--red { background: var(--red); }
.service:hover .service__icon--dark::after { border-color: var(--ink); }
.service:hover .service__icon--red::after { border-color: var(--red); }

.service h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.service:hover h3 {
  color: var(--accent);
}

body.mode-company .service:hover .service__icon {
  box-shadow: 0 10px 22px rgba(26, 138, 74, 0.28);
}

.service p {
  margin: 0;
  color: var(--grey);
  font-size: 0.92rem;
}

/* ===== Improve / About ===== */
.improve {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.improve__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.improve__media {
  position: relative;
}

.improve__media img,
.improve__photo {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.improve__photo {
  transition: opacity 0.45s ease;
}

.improve__photo:not(.is-active) {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.improve__photo.is-active {
  position: relative;
  opacity: 1;
}

.improve__photo[hidden] {
  display: block;
}

.improve-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.improve-switch__btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.improve-switch__btn:hover {
  color: var(--ink);
}

.improve-switch__btn.is-active[data-improve="expert"] {
  background: var(--red);
  color: #fff;
}

.improve-switch__btn.is-active[data-improve="company"] {
  background: var(--green);
  color: #fff;
}

.improve-panels {
  display: grid;
  grid-template-columns: 1fr;
}

.improve-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.improve-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 1;
}

.improve-panel[hidden] {
  display: block;
}

.improve-panel:not(.is-active) {
  pointer-events: none;
}

.improve-panel h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.improve-panel > p {
  color: var(--grey);
  line-height: 1.55;
}

.stats {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: flex;
  gap: 2rem;
}

.improve-panel .btn {
  margin-top: 1.6rem;
}

.stats strong {
  display: block;
  font-size: 1.9rem;
  color: var(--accent);
  font-weight: 800;
  transition: color 0.35s ease;
}

.stats span {
  font-size: 0.82rem;
  color: var(--grey);
}

/* ===== Section heads ===== */
.section-head--center {
  text-align: center;
  margin-bottom: 2.6rem;
}

.section-head--center h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
}

/* ===== Team ===== */
.team {
  padding: 5rem 0;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.member__photo {
  position: relative;
  overflow: hidden;
}

.member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(200, 32, 46, 0) 45%, rgba(160, 24, 37, 0.85));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.member:hover .member__photo::after {
  opacity: 1;
}

.member img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  filter: grayscale(35%);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.member:hover img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.member__socials {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.member:hover .member__socials {
  opacity: 1;
  transform: none;
}

.member__socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--red);
  font-size: 0.78rem;
  text-transform: lowercase;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.member__socials a:hover {
  transform: translateY(-3px);
}

.member__body {
  padding: 1.2rem;
}

.member__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.member__body p {
  margin: 0.2rem 0 0.8rem;
  color: var(--grey);
  font-size: 0.88rem;
}

.link-arrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.link-arrow::after {
  content: " \2192";
}

/* ===== CTA band ===== */
.cta-band {
  background:
    linear-gradient(rgba(20, 26, 31, 0.85), rgba(20, 26, 31, 0.85)),
    url("https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1600&q=80")
      center / cover fixed;
  padding: 3.4rem 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.cta-band h3 {
  color: #fff;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  flex: 1 1 280px;
  max-width: 46rem;
}

/* ===== Portfolio ===== */
.portfolio {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.portfolio__pillars {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.2rem;
  padding: 0;
  list-style: none;
}

.portfolio__pillars li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--red);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  max-width: 15rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(200, 32, 46, 0.22);
}

.portfolio__pillars li:last-child {
  max-width: none;
}

.portfolio__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.portfolio-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20, 35, 50, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 32, 46, 0.18);
}

body.mode-company .portfolio-card:hover {
  border-color: rgba(26, 138, 74, 0.22);
}

.portfolio-card__media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.portfolio-card__body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.portfolio-card__body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.portfolio-card__label {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.portfolio-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.portfolio-card__skills span {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: rgba(200, 32, 46, 0.08);
  padding: 0.28rem 0.55rem;
  border-radius: var(--radius-pill);
}

body.mode-company .portfolio-card__skills span {
  background: rgba(26, 138, 74, 0.1);
}

.portfolio-card__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.55;
}

@media (min-width: 1100px) {
  .portfolio__cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.work {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.work img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work:hover img {
  transform: scale(1.08);
}

.work__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(200, 32, 46, 0) 35%, rgba(160, 24, 37, 0.94));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.3rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work:hover .work__overlay {
  opacity: 1;
}

.work__overlay::before {
  content: "+";
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  transform: scale(0) rotate(-90deg);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

.work:hover .work__overlay::before {
  transform: scale(1) rotate(0);
}

.work__overlay h5 {
  color: #fff;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 700;
  line-height: 1.25;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.4s ease 0.08s, opacity 0.4s ease 0.08s;
}

.work__overlay span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.4s ease 0.16s, opacity 0.4s ease 0.16s;
}

.work:hover .work__overlay h5,
.work:hover .work__overlay span {
  transform: none;
  opacity: 1;
}

/* ===== Testimonial ===== */
.testimonial {
  padding: 5.5rem 0;
  background:
    linear-gradient(rgba(28, 37, 44, 0.92), rgba(28, 37, 44, 0.92)),
    url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1600&q=80")
      center / cover;
  text-align: center;
}

.testimonial h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1.6rem;
}

.testimonial blockquote {
  margin: 0 auto;
  max-width: 760px;
  color: #e6eaee;
  font-size: 1.2rem;
  font-style: italic;
}

.testimonial__author {
  margin-top: 1.4rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ===== Contact ===== */
.contact {
  padding: 5rem 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(200, 32, 46, 0.05), transparent 42%),
    var(--bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "intro form"
    "items form";
  column-gap: 3.4rem;
  row-gap: 2rem;
  align-items: start;
}

.contact__intro {
  grid-area: intro;
}

.contact__intro h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.contact__lead {
  color: var(--grey);
  max-width: 460px;
}

.contact__items {
  grid-area: items;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem 1.4rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__ic {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(200, 32, 46, 0.35);
  display: grid;
  place-items: center;
  color: var(--red);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-item__ic svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: fill 0.3s ease;
}

.contact-item:hover .contact-item__ic {
  transform: translateY(-5px) rotate(8deg) scale(1.06);
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(200, 32, 46, 0.3);
}

.contact-item__body h4 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.contact-item__body p {
  margin: 0;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.5;
}

body.mode-company .contact {
  background:
    radial-gradient(circle at 12% 8%, rgba(26, 138, 74, 0.05), transparent 42%),
    var(--bg);
}

body.mode-company .contact .eyebrow {
  color: var(--green);
}

body.mode-company .contact__intro h2 .red {
  color: var(--green);
}

body.mode-company .contact-item__ic {
  border-color: rgba(26, 138, 74, 0.35);
  color: var(--green);
}

body.mode-company .contact-item:hover .contact-item__ic {
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 12px 24px rgba(26, 138, 74, 0.3);
}

body.mode-company .contact-form .field input:focus,
body.mode-company .contact-form .field textarea:focus {
  border-color: var(--green);
}

body.mode-company .contact-form .field input:focus + label,
body.mode-company .contact-form .field input:not(:placeholder-shown) + label,
body.mode-company .contact-form .field textarea:focus + label,
body.mode-company .contact-form .field textarea:not(:placeholder-shown) + label {
  color: var(--green);
}

body.mode-company .contact-form .btn--red {
  background: var(--green);
}

body.mode-company .contact-form .btn--red:hover {
  background: var(--green-dark);
}

body.mode-company .contact-form .form-msg {
  color: var(--green);
}

body.mode-company .contact-form .consent input {
  accent-color: var(--green);
}

body.mode-company .contact-form .consent a {
  color: var(--green);
}

.contact-form {
  grid-area: form;
  display: grid;
  gap: 1.3rem;
  padding: 2.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 50px rgba(20, 35, 50, 0.12);
}

.contact-form h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.field {
  position: relative;
}

.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 0.2rem;
  background: transparent;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.3s ease;
}

.field label {
  position: absolute;
  left: 0.2rem;
  top: 0.7rem;
  color: var(--grey);
  font-size: 0.95rem;
  pointer-events: none;
  transition: transform 0.25s ease, color 0.25s ease, font-size 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.45rem);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.form-msg {
  margin: 0;
  min-height: 1.2rem;
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
}

/* ===== Newsletter ===== */
.newsletter {
  padding: 3.4rem 0;
  background: var(--red);
}

body.mode-company .newsletter {
  background: var(--green);
}

.newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.newsletter h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
}

.newsletter__form {
  display: flex;
  gap: 0.6rem;
  flex: 1;
  max-width: 520px;
  flex-wrap: wrap;
}

.newsletter__consent {
  flex-basis: 100%;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.92);
}

body.mode-company .newsletter__consent {
  color: rgba(255, 255, 255, 0.92);
}

.newsletter__form input {
  flex: 1;
  font-family: inherit;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 0.9rem 1.3rem;
  font-size: 0.92rem;
}

.newsletter__form .btn.is-saved {
  background: #1f8a4c;
  color: #fff;
  cursor: default;
}

.newsletter__form .btn.is-saved:hover {
  background: #1f8a4c;
}

.newsletter__msg {
  width: 100%;
  margin: 0.9rem 0 0;
  min-height: 1.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.newsletter__msg.is-success {
  color: #fff;
}

.newsletter__msg.is-error {
  color: #2a0c0e;
  background: rgba(255, 255, 255, 0.85);
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
}

.newsletter__form input:focus {
  outline: none;
}

/* ===== Footer ===== */
.footer {
  background: var(--footer);
  color: #aeb6bd;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-block: 3.4rem;
}

.footer__col h5 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.footer__col h5 .red {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.footer__col p,
.footer__col ul {
  font-size: 0.9rem;
  margin: 0 0 0.8rem;
}

.footer__col ul {
  list-style: none;
  padding: 0;
}

.footer__col li {
  padding: 0.3rem 0;
}

.footer__col strong {
  color: var(--red);
}

.footer__col h5 + h5 {
  margin-top: 1.6rem;
}

.footer__nav a {
  color: #aeb6bd;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__nav--cols {
  columns: 2;
  column-gap: 1.5rem;
  max-width: 24rem;
}

.footer__nav--cols li {
  break-inside: avoid;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  text-transform: lowercase;
  font-size: 0.78rem;
}

.footer__social a:hover {
  background: var(--red);
  color: #fff;
}

.footer__bar {
  background: var(--footer-deep);
  padding: 1rem 0;
  text-align: center;
}

.footer__bar p {
  margin: 0;
  font-size: 0.82rem;
}

body.mode-company .footer .red {
  color: var(--green);
}

body.mode-company .footer__col strong {
  color: var(--green);
}

body.mode-company .footer__social a:hover {
  background: var(--green);
}

body.mode-company .footer__nav a:hover {
  color: var(--green);
}

/* ===== Legal pages ===== */
.legal-header .header__inner {
  justify-content: space-between;
}

.legal-header__back {
  font-size: 0.68rem;
  padding: 0.65rem 1.1rem;
}

.legal {
  padding: 3rem 0 4rem;
  background: var(--bg-alt);
}

.legal__inner {
  max-width: 820px;
}

.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.legal__meta {
  color: var(--grey);
  font-size: 0.88rem;
  margin: 0 0 2rem;
}

.legal__section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1rem;
}

.legal__section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.legal__section p,
.legal__section li {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.legal__section p {
  margin: 0 0 0.75rem;
}

.legal__section p:last-child,
.legal__section ol:last-child,
.legal__section ul:last-child {
  margin-bottom: 0;
}

.legal__section ol,
.legal__section ul {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.legal__section li + li {
  margin-top: 0.35rem;
}

.legal__section a {
  color: var(--red);
  text-decoration: underline;
}

.legal__table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.legal__table th,
.legal__table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal__table th {
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--ink);
}

.legal__section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--ink);
}

.legal__section--links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal__section--links li + li {
  margin-top: 0.45rem;
}

.legal__section code {
  font-size: 0.88em;
  background: var(--bg-alt);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

@media (max-width: 760px) {
  .legal-header__back {
    display: none;
  }

  .legal__section {
    padding: 1.1rem 1rem;
  }
}

/* ===== Cookie consent ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: rgba(22, 29, 34, 0.97);
  color: #fff;
  border-top: 3px solid var(--accent);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.22);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.1rem 0;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  max-width: 52rem;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-size: 0.68rem;
  padding: 0.65rem 1rem;
}

.cookie-settings {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-settings.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-settings__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 28, 0.55);
  backdrop-filter: blur(2px);
}

.cookie-settings__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.25rem;
  box-shadow: 0 20px 50px rgba(20, 35, 50, 0.22);
}

.cookie-settings__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--grey);
}

.cookie-settings__panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.cookie-settings__lead {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-settings__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

.cookie-settings__item p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.cookie-settings__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cookie-settings__always {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.cookie-settings__item--toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.cookie-settings__item.is-disabled {
  opacity: 0.72;
}

.cookie-settings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

body.mode-company .cookie-banner {
  border-top-color: var(--green);
}

body.mode-company .cookie-banner .btn--red,
body.mode-company .cookie-settings .btn--red {
  background: var(--green);
}

body.mode-company .cookie-banner .btn--red:hover,
body.mode-company .cookie-settings .btn--red:hover {
  background: var(--green-dark);
}

@media (max-width: 760px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-banner__actions {
    justify-content: center;
  }

  .cookie-banner__btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--red);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 60;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
}

body.mode-company .back-to-top {
  background: var(--green);
}

body.mode-company .back-to-top:hover {
  background: var(--green-dark);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ===== Join button ===== */
.btn--join {
  padding: 0.7rem 1.25rem;
  font-size: 0.72rem;
  border-radius: var(--radius-pill);
}

.btn--find-expert {
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}

/* ===== Side drawers ===== */
.join-overlay,
.expert-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 28, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 90;
}

.join-overlay.is-open,
.expert-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.join-drawer,
.expert-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(520px, 100%);
  background: #fff;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 50px rgba(15, 22, 28, 0.25);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.join-drawer.is-open,
.expert-drawer.is-open {
  transform: translateX(0);
}

.join-drawer__close,
.expert-drawer__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.join-drawer__close:hover {
  background: var(--red);
}

.expert-drawer__close:hover {
  background: var(--green);
}

.join-drawer__inner,
.expert-drawer__inner {
  padding: 1rem 1.8rem 0;
}

.join-title,
.expert-title {
  font-size: clamp(1.4rem, 3.4vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.join-intro,
.expert-intro {
  color: var(--grey);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}

/* ===== Join form ===== */
.join-form,
.expert-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.jf {
  display: grid;
  gap: 0.3rem;
}

.jf > label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink);
}

.jf > label small {
  font-weight: 500;
  color: var(--grey);
}

.jf input[type="text"],
.jf input[type="number"],
.jf input[type="email"],
.jf input[type="tel"],
.jf select,
.jf textarea,
.jf input[type="file"] {
  width: 100%;
  font-family: inherit;
  font-size: 0.84rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  background: var(--bg-alt);
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.jf input[type="text"] + input[type="text"] {
  margin-top: 0.35rem;
}

.jf input:focus,
.jf select:focus,
.jf textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 32, 46, 0.12);
}

.jf--row {
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.jf--row > div {
  display: grid;
  gap: 0.3rem;
}

.jf--row label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip span {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
  transition: all 0.2s ease;
  user-select: none;
}

.chip:hover span {
  border-color: var(--red);
  color: var(--red);
}

.chip input:checked + span {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.chip.is-disabled span {
  opacity: 0.45;
  cursor: not-allowed;
}

.chips__counter {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: var(--grey);
}

.chips__counter span {
  color: var(--red);
  font-weight: 700;
}

.spec-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  background: var(--bg-alt);
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.spec-trigger:hover {
  border-color: var(--red);
}

.spec-trigger:focus-visible {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(200, 32, 46, 0.12);
}

.spec-trigger.has-selection .spec-trigger__label {
  color: var(--ink);
}

.spec-trigger__chevron {
  flex: none;
  font-size: 0.7rem;
  color: var(--red);
  transition: transform 0.25s ease;
}

.spec-trigger[aria-expanded="true"] .spec-trigger__chevron {
  transform: rotate(180deg);
}

.spec-panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.spec-panel.is-open {
  max-height: 640px;
  opacity: 1;
  margin-top: 0.6rem;
}

.jf-file-name {
  margin: 0;
  font-size: 0.74rem;
  color: var(--red);
  font-weight: 600;
}

.join-about__title {
  margin: 0 0 0.85rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.join-about__choices {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.65rem;
}

.join-choice {
  flex: 1 1 180px;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink-soft);
  font: 600 0.76rem/1.35 "Inter", system-ui, sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.join-choice:hover {
  border-color: #cfd5da;
  background: var(--bg-alt);
}

.join-choice.is-active {
  border-color: var(--red);
  background: rgba(200, 32, 46, 0.06);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(200, 32, 46, 0.18);
}

.join-choice__sep {
  flex: 0 0 auto;
  font-size: 0.74rem;
  color: var(--grey);
  text-transform: lowercase;
}

.join-path[hidden] {
  display: none !important;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 132px;
  padding: 1.1rem 1rem;
  border: 1.5px dashed #cfd5da;
  border-radius: 12px;
  background: var(--bg-alt);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.dropzone:hover,
.dropzone:focus-visible {
  border-color: var(--red);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 32, 46, 0.08);
}

.dropzone.is-dragover {
  border-color: var(--red);
  background: rgba(200, 32, 46, 0.04);
}

.dropzone.has-file {
  border-style: solid;
  border-color: rgba(200, 32, 46, 0.35);
  background: #fff;
}

.dropzone__icon {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--red);
}

.dropzone__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.dropzone__hint {
  font-size: 0.72rem;
  color: var(--grey);
}

.join-form__footer,
.expert-form__footer {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0.4rem -1.8rem 0;
  padding: 0.7rem 1.8rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 18px rgba(15, 22, 28, 0.06);
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.74rem;
  color: var(--grey);
  line-height: 1.4;
  cursor: pointer;
}

.consent input {
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.consent a {
  color: var(--red);
  text-decoration: underline;
}

.join-submit {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.8rem;
}

.join-form__footer #joinMsg,
.expert-form__footer #expertMsg {
  min-height: 0;
  font-size: 0.8rem;
}

.join-form__footer #joinMsg:empty,
.expert-form__footer #expertMsg:empty {
  display: none;
}

.join-drawer.is-thanks .join-drawer__header,
.expert-drawer.is-thanks .expert-drawer__header {
  display: none;
}

.join-drawer.is-thanks .join-drawer__inner,
.expert-drawer.is-thanks .expert-drawer__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100dvh - 48px);
  padding-bottom: 2rem;
}

.join-thanks[hidden],
.expert-thanks[hidden] {
  display: none !important;
}

.join-thanks,
.join-thanks.is-visible,
.join-thanks:not([hidden]),
.expert-thanks,
.expert-thanks.is-visible,
.expert-thanks:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: min(420px, 60dvh);
  margin: 0 0 1rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 35, 50, 0.08);
}

.join-thanks__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 2.2rem;
  display: grid;
  place-items: center;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.join-thanks h3,
.expert-thanks h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.join-thanks p,
.expert-thanks p {
  color: var(--grey);
  margin-bottom: 0.6rem;
}

.join-thanks__countdown {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.04em;
}

.join-form__footer #joinMsg.is-error,
.expert-form__footer #expertMsg.is-error {
  color: var(--red);
}

/* ===== Find expert drawer (green theme) ===== */
.green {
  color: var(--green);
}

.expert-submit {
  width: 100%;
  padding: 0.75rem;
  font-size: 0.8rem;
}

.chips--green .chip:hover span {
  border-color: var(--green);
  color: var(--green);
}

.chips--green .chip input:checked + span,
.chips--green .chip input[type="radio"]:checked + span {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

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

.chips--level .chip span {
  display: block;
  width: 100%;
  text-align: left;
  line-height: 1.35;
}

.chips--level .chip span small {
  font-weight: 500;
  opacity: 0.85;
}

.chips__counter--green span {
  color: var(--green);
}

.spec-trigger--green:hover,
.spec-trigger--green:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 138, 74, 0.12);
}

.spec-trigger--green .spec-trigger__chevron {
  color: var(--green);
}

.consent--green input {
  accent-color: var(--green);
}

.consent--green a {
  color: var(--green);
}

.expert-form .jf textarea {
  resize: vertical;
  min-height: 96px;
}

.expert-thanks__icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 2.2rem;
  display: grid;
  place-items: center;
  animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.expert-thanks__countdown {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
}

@keyframes pop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

body.no-scroll {
  overflow: hidden;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-panel,
  .improve__grid {
    grid-template-columns: 1fr;
  }

  .services__lead {
    position: static;
  }

  body.mode-company .services__lead,
  body.mode-company .services-panel .service-list {
    order: unset;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "items"
      "form";
  }

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

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

  .slide {
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.55)),
      var(--img);
  }

  .slide__content {
    max-width: min(720px, 100%);
  }

  .slide .slide__title {
    font-size: clamp(1.85rem, 3.5vw, 2.85rem);
    max-width: none;
  }

  .perspective-bar.is-compact .perspective-bar__inner {
    flex-direction: row;
    align-items: center;
    text-align: left;
    min-height: var(--header-h);
    padding-block: 0;
    gap: 0.75rem;
  }

  .perspective-bar.is-compact .perspective-bar__controls {
    flex-direction: row;
    align-items: center;
  }

  .perspective-bar.is-compact .perspective-switch--prominent {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
  }

  .header__inner {
    gap: 0.85rem;
    min-height: 64px;
    padding-block: 0.35rem;
  }

  .burger {
    display: flex;
    order: -1;
  }

  .logo {
    margin-right: 0;
  }

  .logo__text {
    font-size: clamp(0.92rem, 3vw, 1.12rem);
    letter-spacing: 0.06em;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0.3s ease;
    z-index: 40;
  }

  .nav.is-open {
    max-height: 360px;
    visibility: visible;
  }

  .nav a {
    padding: 0.9rem 1.2rem;
    border-top: 1px solid var(--line);
  }

  .header__icons {
    margin-left: auto;
  }

  .header-cta {
    margin-left: auto;
  }

  .perspective-bar__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    min-height: auto;
    gap: 1.35rem;
    padding-block: 0.5rem;
  }

  .perspective-bar__intro {
    flex-basis: auto;
  }

  .perspective-bar__hint {
    max-width: none;
  }

  .perspective-bar__arrow {
    width: 100%;
    text-align: center;
  }

  .perspective-bar__controls {
    flex: 1 1 auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .perspective-switch {
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .perspective-switch--prominent {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .perspective-switch--prominent .perspective-switch__btn {
    font-size: clamp(0.68rem, 2.8vw, 0.92rem);
    padding: 0.75rem 0.55rem;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
  }

  .btn--join {
    padding: 0.6rem 0.9rem;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .btn--find-expert {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .hero__slides {
    min-height: clamp(420px, 72vh, 520px);
    height: auto;
  }

  .slide {
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96) 52%, rgba(255, 255, 255, 0.72)),
      var(--img);
    background-position: center;
    align-items: flex-start;
    padding-top: 0.5rem;
  }

  .slide__content {
    max-width: 100%;
    padding-block: 1.5rem 4rem;
  }

  .slide__kicker {
    letter-spacing: 0.14em;
    font-size: 0.68rem;
  }

  .slide .slide__title {
    font-size: clamp(1.65rem, 6.5vw, 2.15rem);
    line-height: 1.1;
    max-width: none;
    margin-bottom: 1.2rem;
  }

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

  .slide__actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero__arrow {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .hero__arrow--prev { left: 8px; }
  .hero__arrow--next { right: 8px; }

  section {
    padding: 3.2rem 0;
  }

  .services__lead-text {
    max-width: 100%;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
  }

  .stats strong {
    font-size: 1.5rem;
  }

  .stats span {
    font-size: 0.72rem;
  }

  .contact__items {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .portfolio__pillars {
    gap: 0.35rem;
  }

  .portfolio__pillars li {
    font-size: 0.68rem;
    padding: 0.42rem 0.85rem;
  }

  .portfolio__pillars li:last-child {
    font-size: 0.62rem;
    padding: 0.42rem 0.75rem;
  }

  .team__grid,
  .portfolio__cards {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding-block: 2.4rem;
  }

  .newsletter__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .newsletter__form {
    flex-direction: column;
    max-width: 100%;
    width: 100%;
  }

  .newsletter__form input,
  .newsletter__form .btn {
    width: 100%;
  }

  .newsletter__msg {
    text-align: center;
  }

  .cta-band__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .cta-band h3 {
    font-size: clamp(1.05rem, 4.2vw, 1.45rem);
    max-width: none;
  }

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

  .join-choice {
    flex: 1 1 auto;
    width: 100%;
  }

  .join-choice__sep {
    align-self: center;
  }

  .join-drawer {
    width: 100%;
    max-width: 100%;
  }

  .join-drawer__inner {
    padding: 0 1.2rem 1.6rem;
  }

  .join-form__footer {
    margin-inline: -1.2rem;
    padding-inline: 1.2rem;
  }

  .jf input[type="text"],
  .jf input[type="number"],
  .jf input[type="email"],
  .jf input[type="tel"],
  .jf select,
  .spec-trigger {
    font-size: 1rem;
  }

  .field input,
  .field textarea,
  .newsletter__form input {
    font-size: 1rem;
  }

  .cta-band {
    background-attachment: scroll;
  }

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

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .logo__text {
    font-size: 0.9rem;
  }

  .btn--join {
    padding: 0.55rem 0.75rem;
    font-size: 0.68rem;
  }

  .hero__slides {
    min-height: 400px;
  }

  .slide__content {
    padding-block: 1.2rem 3.5rem;
  }

  .slide__kicker {
    letter-spacing: 0.1em;
    line-height: 1.4;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .stats li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }

  .stats li:last-child {
    border-bottom: 0;
  }

  .member img {
    height: 240px;
  }

  .work img {
    height: 220px;
  }

  .testimonial blockquote {
    font-size: 1rem;
  }

  .section-head--center h2,
  .improve-panel h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .improve-panels {
    display: grid;
  }

  .improve-panel:not(.is-active) {
    pointer-events: none;
  }

  .contact-item__ic {
    width: 46px;
    height: 46px;
  }

  .contact-item__body h4 {
    font-size: 1rem;
  }

  .hero__arrow {
    display: none;
  }
}

@media (max-width: 360px) {
  .btn {
    font-size: 0.72rem;
    padding: 0.85rem 1.15rem;
  }

  .btn--join {
    font-size: 0.75rem;
    padding: 0.52rem 0.7rem;
  }

  .slide .slide__title {
    font-size: 1.5rem;
    line-height: 1.12;
  }
}
