:root {
  --accent: #DAA74A;
  --text-main: #E7E4DB;
  --dune2: linear-gradient(to right, #9E8D79, #DAA74A);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: #E7E4DB;
  background-color: #C4A47E;
  background-image: url('assets/dune.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.slides-container {
  position: fixed;
  top: 116px;
  bottom: 100px;
  left: 0;
  right: 0;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slides-container::-webkit-scrollbar { display: none; }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 35% 55%, rgba(0,0,0,0.8) 0%, rgba(102,102,102,0) 100%);
  pointer-events: none;
  z-index: 0;
}

.slides-container > * {
  position: relative;
  z-index: 1;
}

/* ========== ТИПОГРАФИКА ========== */
/* Title 1 */ .t1 { font-size: 60px; font-weight: 700; line-height: normal; }
/* Title 2 */ .t2 { font-size: 40px; font-weight: 700; line-height: normal; }
/* Title 3 */ .t3 { font-size: 30px; font-weight: 700; line-height: normal; }
/* Text 1  */ .tx1 { font-size: 30px; font-weight: 400; line-height: 46px; }
/* Text 2 Menu */ .tx2 { font-size: 20px; font-weight: 400; line-height: normal; }
/* Text 3  */ .tx3 { font-size: 16px; font-weight: 400; line-height: 30px; }
/* Button 1 */ .btn1 { font-size: 30px; font-weight: 400; line-height: normal; }
/* Button 2 */ .btn2 { font-size: 20px; font-weight: 400; line-height: normal; }

/* ========== ХЕДЕР ========== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 240px;
  height: 116px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.header .menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-group {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.logo-dune {
  background: linear-gradient(to right, #9E8D79, #DAA74A);
  color: #1a1208;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  padding: 16px 20px;
  white-space: nowrap;
}

.logo-finance {
  color: #E7E4DB;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.menu {
  display: flex;
  gap: 40px;
  font-weight: 400;
  font-size: 18px;
  align-items: center;
}

.menu a {
  color: #E7E4DB;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.menu a:hover,
.menu a:active { color: var(--accent); opacity: 1; }

.header-cta {
  position: relative;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #E7E4DB;
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: var(--dune2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  transition: opacity 0.2s;
}

.header-cta:hover,
.header-cta:active {
  background: var(--dune2);
  color: #1a1208;
}

.header-cta:hover::before,
.header-cta:active::before { opacity: 0; }

.lang-switch {
  margin-left: auto;
  margin-right: 30px;
  font-size: 18px;
  font-weight: 400;
  color: #E7E4DB;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.lang-switch:hover,
.lang-switch:active { color: var(--accent); }

/* ========== HERO ========== */
.hero {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 240px;
  gap: 14px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
}

.left-side {
  width: 831px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right-side {
  width: 590px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 120px;
  width: 100%;
}

.hero-titles {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

h1 {
  font-size: 50px;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.accent { color: var(--accent); }
.dune-color { color: #C4A47E; }

.tags {
  font-size: 28px;
  font-weight: 400;
  color: #C4A47E;
  margin: 0;
  line-height: normal;
  white-space: nowrap;
}

/* Кнопка CTA */
.cta-btn {
  position: relative;
  width: auto;
  height: 80px;
  padding: 0 50px;
  font-size: 24px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #E7E4DB;
  background: transparent;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  align-self: flex-start;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 3px;
  background: var(--dune2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  transition: opacity 0.2s;
}

.cta-btn:hover,
.cta-btn:active {
  background: var(--dune2);
  color: #1a1208;
}

.cta-btn:hover::before,
.cta-btn:active::before { opacity: 0; }

/* Куб */
.floating-cube {
  width: 590px;
  height: 500px;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ========== ФУТЕР ========== */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 240px 30px 240px;
  height: 100px;
  background: transparent;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: #E7E4DB;
  font-size: 16px;
  font-weight: 300;
}

.footer-left {
  color: #E7E4DB;
  font-size: 16px;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 60px;
}

.footer-right a {
  color: #E7E4DB;
  text-decoration: none;
  font-size: 16px;
}

.footer-right a:hover,
.footer-right a:active { color: var(--accent); opacity: 1; }

.socials {
  display: flex;
  gap: 10px;
  align-items: center;
}

.socials a {
  display: flex;
  text-decoration: none;
  border-radius: 50%;
  transition: filter 0.2s;
}

.socials a:hover .social-bg,
.socials a:active .social-bg {
  fill: #DAA74A;
}

.socials img {
  width: 40px;
  height: 40px;
  display: block;
}

/* ========== ЭКРАНЫ ========== */
.screen {
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  padding: 0 240px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex-shrink: 0;
}

.hero, .screen {
  transition: opacity 0.5s ease;
}

.slide-hidden {
  opacity: 0;
}

.slide-visible {
  opacity: 1;
}

.screen-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
}

.screen-2 .screen-content,
.screen-3 .screen-content {
  max-width: none;
  gap: 80px;
}

.screen-2 .screen-title,
.screen-3 .screen-title,
.screen-4 .screen-title,
.screen-5 .screen-title,
.screen-klienty .screen-title,
.screen-6 .screen-title,
.screen-7 .screen-title,
.screen-8 .screen-title {
  font-size: 50px;
}

/* ========== ЭКРАН 8: ИМИДЖЕВЫЙ ========== */
.screen-8 {
  padding: 0;
  justify-content: center;
}

.screen-8-content {
  align-items: center;
  text-align: center;
  gap: 60px;
  max-width: none;
}

.screen8-cube {
  width: 380px;
  height: auto;
  object-fit: contain;
}

/* ========== ЭКРАН 4 ========== */
.screen-4 .screen-content,
.screen-5 .screen-content,
.screen-6 .screen-content {
  max-width: none;
  gap: 60px;
  width: 100%;
}

.screen-klienty .screen-content {
  max-width: none;
  gap: 80px;
  width: 100%;
}

/* ========== КЛИЕНТЫ И ПАРТНЁРЫ ========== */
.client-logo-pill {
  position: relative;
  width: 400px;
  height: 160px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 2px;
  background: linear-gradient(to right, #C4A47E, #5E4F3C);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.client-logo-img {
  display: block;
}

.screen-klienty .client-logo-pill {
  margin-bottom: 30px;
}

.screen-6 .feature-card,
.screen-6 .feature-card:last-child {
  grid-column: span 4;
}

.screen-6 .feature-body {
  max-width: 380px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  width: 100%;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  grid-column: span 5;
}

.feature-card:last-child {
  grid-column: 7 / span 6;
}

.feature-icon-img {
  width: 160px;
  height: 160px;
}

.feature-label {
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  color: #C4A47E;
  margin: 0;
}

.feature-body {
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  color: #E7E4DB;
  margin: 0;
  max-width: 540px;
}

.screen-2 .screen-body {
  max-width: 978px;
}

.screen-3 .screen-body {
  max-width: 1114px;
}

.screen-2 .screen-body p,
.screen-3 .screen-body p {
  font-size: 22px;
  font-weight: 300;
  line-height: 36px;
}

.screen-title {
  font-size: 60px;
  font-weight: 700;
  line-height: normal;
  color: #E7E4DB;
  margin: 0;
}

.screen-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.screen-body p {
  font-size: 30px;
  font-weight: 400;
  line-height: 46px;
  color: #E7E4DB;
  margin: 0;
}

/* ========== ЭКРАН 7: КОНТАКТЫ ========== */
.screen-7 .screen-content {
  max-width: none;
  gap: 80px;
}

.manager-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 80px;
}

.manager-photo-wrap {
  width: 166px;
  height: 166px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #9E8D79, #DAA74A);
  flex-shrink: 0;
}

.manager-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.manager-right {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.manager-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.manager-name {
  font-size: 36px;
  font-weight: 300;
  color: #E7E4DB;
  margin: 0;
}

.manager-role {
  font-size: 22px;
  font-weight: 400;
  color: #C4A47E;
  margin: 0;
}

.manager-contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  font-weight: 300;
  color: #E7E4DB;
}

.contact-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C4A47E;
  flex-shrink: 0;
}

.contact-label {
  min-width: 110px;
  color: #E7E4DB;
  font-weight: 300;
}

.contact-link {
  color: #E7E4DB;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
  cursor: pointer;
  position: relative;
  z-index: 2;
  font-weight: 300;
  word-break: break-all;
}

span.contact-link {
  text-decoration: none;
  cursor: default;
}

.contact-link:hover,
.contact-link:active {
  color: var(--accent);
}

.manager-cta {
  width: auto;
  height: 80px;
  min-width: 280px;
  padding: 0 50px;
  font-size: 24px;
  align-self: flex-start;
}

/* ========== ПОПАП ========== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-container {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.popup-left {
  width: 600px;
  flex-shrink: 0;
  background: #fff;
  padding: 40px 60px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.popup-right {
  width: 353px;
  flex-shrink: 0;
  background: url('assets/dune.webp') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.popup-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 75%, rgba(0,0,0,0.8) 0%, rgba(102,102,102,0) 100%);
  z-index: 1;
  pointer-events: none;
}

.popup-cube {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  object-fit: contain;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.popup-logo {
  position: absolute;
  top: 49px;
  left: 54px;
  height: 56px;
  width: auto;
  z-index: 3;
}

.popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popup-close {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}

.popup-close::before,
.popup-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 1px;
  background: #000;
  border-radius: 0;
}

.popup-close::before { transform: rotate(45deg); }
.popup-close::after  { transform: rotate(-45deg); }

.popup-title {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.popup-form input {
  width: 100%;
  height: 60px;
  padding: 0 10px 0 30px;
  background: #F9F9F9;
  border: 2px solid transparent;
  border-radius: 20px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #333;
  outline: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.popup-form input::placeholder { color: #666666; font-weight: 400; }

.popup-form input.input-error { color: #E53935; }
.popup-form input.input-error::placeholder { color: #E53935; }

.popup-submit {
  position: relative;
  width: 100%;
  height: 60px;
  padding: 0 60px;
  background: transparent;
  border: none;
  border-radius: 80px;
  font-size: 20px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #000;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.popup-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 80px;
  padding: 3px;
  background: var(--dune2);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  transition: opacity 0.2s;
}

.popup-submit:hover { background: var(--dune2); color: #1a1208; }
.popup-submit:hover::before { opacity: 0; }

.popup-disclaimer {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #C1C1C1;
  text-align: center;
}

.popup-disclaimer a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: inherit;
  cursor: pointer;
}

/* Успех */
.popup-success { justify-content: center; }

.success-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.success-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9E8D79, #DAA74A);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-text {
  font-size: 16px;
  line-height: 30px;
  color: #666666;
  text-align: center;
  max-width: 380px;
  margin: 0;
}

/* ========== HAMBURGER ========== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #E7E4DB;
  border-radius: 2px;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  background-image: url('assets/dune.webp');
  background-size: cover;
  background-position: center;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mob-br  { display: none; }
.tab-br  { display: none; }
.desk-br { display: inline; }

.mobile-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 0;
}

.mobile-menu > * { position: relative; z-index: 1; }

.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 70px;
  flex-shrink: 0;
}

.mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-close span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: #E7E4DB;
  border-radius: 2px;
}

.mobile-close span:first-child { transform: rotate(45deg); }
.mobile-close span:last-child  { transform: rotate(-45deg); }

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 70px 24px 40px;
  gap: 28px;
  flex: 1;
}

.mobile-nav-link {
  color: #E7E4DB;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}

.mobile-nav-link:hover { color: var(--accent); }

.mobile-lang-switch {
  margin-left: 15px;
  color: #E7E4DB;
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
  align-self: center;
}

.mobile-lang-switch:hover { color: var(--accent); }

.mobile-actions { padding: 0 24px 30px; display: flex; flex-direction: column; gap: 16px; }

.mobile-pdf-link {
  color: #E7E4DB;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}

.mobile-pdf-link:hover { color: var(--accent); }

.mobile-footer-block {
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  color: #E7E4DB;
}

.mobile-footer-block .socials { margin-bottom: 16px; }

.mobile-footer-block a,
.mobile-footer-block p {
  font-size: 14px;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
  color: #E7E4DB;
  text-decoration: none;
  margin: 0;
}

/* ========== TABLET (768–1199px) ========== */
@media (min-width: 768px) and (max-width: 1199px) {
  .hamburger { display: flex; }
  .menu, .header-cta, .lang-switch { display: none; }
  .mobile-nav { padding-top: 40px; }

  .header { padding: 20px 60px; }
  .footer  { display: none; }
  .slides-container { bottom: 0; }

  .hero, .screen { padding: 0 60px; }
  .screen-8 { padding: 0; justify-content: center; }

  h1 { font-size: 38px; }

  .screen-2 .screen-title,
  .screen-3 .screen-title,
  .screen-4 .screen-title,
  .screen-5 .screen-title,
  .screen-klienty .screen-title,
  .screen-6 .screen-title,
  .screen-7 .screen-title,
  .screen-8 .screen-title { font-size: 36px; }

  .hero { flex-direction: column; justify-content: center; gap: 24px; }
  .left-side  { width: 100%; order: 1; }
  .right-side { width: 100%; order: 0; display: flex; justify-content: center; flex: none; }
  .floating-cube { width: 40vw; max-width: 280px; height: auto; }
  .tags { font-size: 26px; white-space: nowrap; }

  .screen-title br:not(.tab-br),
  .screen-body br:not(.tab-br) { display: none; }
  .tab-br { display: inline; }

  .screen-6 .feature-card,
  .screen-6 .feature-card:last-child { grid-column: span 4; }

  .screen-klienty .feature-card,
  .screen-klienty .feature-card:last-child { grid-column: span 6; }

  .client-logo-pill { width: calc(100% - 40px); height: 120px; }
  .client-logo-img { max-width: 70%; height: auto; }

  .manager-card { gap: 40px; }

  .cta-btn { height: 60px; padding: 0 36px; font-size: 18px; }
  .cta-btn::before { padding: 2px; }

  .popup-container { width: 90vw; max-width: 520px; }
  .popup-title { font-size: 22px; }
  .popup-right { display: none; }
  .popup-left { width: 100%; padding: 36px 32px; }
  .popup-disclaimer { font-size: 11px; line-height: 16px; }
}

/* ========== MOBILE (<768px) ========== */
@media (max-width: 767px) {
  html, body { overflow-x: hidden; }

  .hamburger { display: flex; }
  .menu, .header-cta, .lang-switch { display: none; }

  .header { height: 70px; padding: 0 20px; }
  .footer  { display: none; }

  .slides-container { top: 70px; bottom: 0; }

  .hero   { padding: 0 20px; flex-direction: column; justify-content: center; gap: 16px; }
  .screen { padding: 0 20px; }
  .screen-8 { padding: 0; }

  h1 { font-size: 28px; }
  .tags { font-size: 11px; white-space: nowrap; }
  .hero-content { gap: 30px; }
  .hero-titles  { gap: 16px; }
  .left-side  { width: 100%; order: 1; }
  .right-side { display: flex; justify-content: center; width: 100%; order: 0; }
  .floating-cube { width: 55vw; max-width: 220px; height: auto; }

  .screen-2 .screen-title,
  .screen-3 .screen-title,
  .screen-4 .screen-title,
  .screen-5 .screen-title,
  .screen-klienty .screen-title,
  .screen-6 .screen-title,
  .screen-7 .screen-title,
  .screen-8 .screen-title { font-size: 26px; }

  .screen-2 .screen-content,
  .screen-3 .screen-content { gap: 30px; }
  .screen-2 .screen-body,
  .screen-3 .screen-body { max-width: none; }
  .screen-2 .screen-body p,
  .screen-3 .screen-body p { font-size: 15px; line-height: 24px; }
  .screen-3 .screen-body br { display: none; }
  .mob-br  { display: inline; }
  .desk-br { display: none; }

  .screen-4 .screen-content,
  .screen-5 .screen-content,
  .screen-klienty .screen-content,
  .screen-6 .screen-content { gap: 24px; }

  .features-grid { grid-template-columns: 1fr; row-gap: 30px; column-gap: 0; }

  .feature-card,
  .feature-card:last-child,
  .screen-6 .feature-card,
  .screen-6 .feature-card:last-child { grid-column: 1 / -1; }

  .screen-4 .feature-body,
  .screen-5 .feature-body,
  .screen-klienty .feature-body,
  .screen-6 .feature-body { max-width: none; }

  .feature-icon-img { width: 80px; height: 80px; }
  .feature-label { font-size: 18px; }
  .feature-body  { font-size: 15px; line-height: 22px; max-width: none; }
  .feature-card  { gap: 16px; }

  .screen-7 .screen-content { gap: 24px; }
  .manager-card { flex-direction: column; gap: 24px; }
  .manager-photo-wrap { width: 100px; height: 100px; }
  .manager-right    { gap: 36px; overflow: hidden; width: 100%; }
  .manager-contacts { overflow: hidden; width: 100%; }
  .manager-name  { font-size: 22px; }
  .manager-role  { font-size: 15px; }
  .manager-contacts { gap: 14px; }
  .contact-row   { font-size: 14px; gap: 12px; }
  .contact-dot   { width: 8px; height: 8px; }
  .contact-label { min-width: 80px; }
  .contact-row   { overflow: hidden; }
  .contact-link  { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: normal; }
  .manager-cta   { height: 56px; padding: 0 30px; font-size: 18px; min-width: unset; }

  .screen-6 .feature-card,
  .screen-6 .feature-card:last-child {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 6px;
  }
  .screen-6 .feature-icon-img {
    width: 64px;
    height: 64px;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: start;
  }
  .screen-6 .feature-label { grid-column: 2; grid-row: 1; align-self: end; }
  .screen-6 .feature-body  { grid-column: 2; grid-row: 2; max-width: none; }

  .client-logo-pill { width: auto; min-width: 208px; height: 80px; align-self: flex-start; padding: 0 40px; }
  .screen-klienty .client-logo-pill { margin-bottom: 10px; }
  .client-logo-img { max-height: 28px; width: auto; }
  .screen-klienty .feature-card:first-child .client-logo-img { max-height: 19px; }

  .screen8-cube    { width: 60vw; max-width: 240px; }
  .screen-8-content { gap: 24px; }
  .screen-content  { gap: 24px; }

  .cta-btn {
    height: 54px;
    padding: 0 24px;
    font-size: 16px;
    white-space: normal;
    min-width: unset;
    max-width: 100%;
    width: fit-content;
  }
  .cta-btn::before { padding: 2px; }

  .logo-dune    { padding: 10px 14px; font-size: 16px; }
  .logo-finance { font-size: 16px; }
  .logo-link    { gap: 12px; }

  .popup-container  { flex-direction: column; width: 90vw; max-height: 90vh; overflow-y: auto; }
  .popup-left       { width: 100%; padding: 30px 24px; }
  .popup-right      { display: none; }
  .popup-title      { font-size: 20px; }
  .popup-form input { height: 50px; font-size: 13px; padding-left: 16px; }
  .popup-submit     { height: 50px; font-size: 15px; white-space: nowrap; }
  .popup-submit::before { padding: 1.5px; }
  .popup-disclaimer { font-size: 10px; line-height: 15px; }
}
