:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-2: #100c14;
  --panel: rgba(26, 21, 31, 0.96);
  --panel-solid: #1a151f;
  --text: #ffffff;
  --muted: #b0b0b0;
  --accent: #ff3b9d;
  --accent-strong: #ff79c6;
  --accent-soft: rgba(255, 59, 157, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-title: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
  --shadow: rgba(0, 0, 0, 0.5);
  --container-width: 1100px;
  --header-height: 90px;
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
  --spacing-xxl: 120px;
  --section-space: clamp(2.8rem, 5vw, 5.2rem);
  --type-display: clamp(2.2rem, 4.6vw, 3.9rem);
  --type-h1: clamp(2rem, 4vw, 3.2rem);
  --type-h2: clamp(1.7rem, 3vw, 2.55rem);
  --type-h3: clamp(1.2rem, 2vw, 1.72rem);
  --type-body-lg: clamp(1rem, 1.25vw, 1.12rem);
  --type-body: clamp(0.93rem, 1.05vw, 1.01rem);
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 12% 0%, rgba(255, 59, 157, 0.18), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(90, 30, 70, 0.2), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  opacity: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  text-rendering: optimizeLegibility;
}

body.preload {
  opacity: 1;
}

body.is-ready {
  opacity: 1;
  transition: opacity 0.6s ease;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 14px rgba(255, 59, 157, 0.55);
  z-index: 120;
  pointer-events: none;
  transition: width 0.12s linear;
}

body.is-transitioning::after {
  opacity: 1;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: var(--type-h1); margin-bottom: 1.2rem; }
h2 { font-size: var(--type-h2); margin-bottom: 1rem; }
h3 { font-size: var(--type-h3); margin-bottom: 0.8rem; }

button {
  font-family: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  z-index: -1;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (max-width: 1200px) {
  .container {
    padding-left: calc(env(safe-area-inset-left, 1rem));
    padding-right: calc(env(safe-area-inset-right, 1rem));
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  backdrop-filter: blur(11px) saturate(128%);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: visible;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  isolation: isolate;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 59, 157, 0.86) 50%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 50%, rgba(255, 59, 157, 0.15), transparent 36%);
  z-index: 0;
  pointer-events: none;
}

.header-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  align-content: center;
  min-height: 88px;
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.12);
}

.brand-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.brand-stack strong {
  font-family: var(--font-title);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

.brand-stack small {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 4px;
  justify-content: start;
  align-items: center;
  font-size: 0.79rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px;
  min-width: 0;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  min-height: 38px;
  min-width: max-content;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  flex: 0 0 auto;
}

.site-header .btn-primary {
  padding-inline: clamp(20px, 2.3vw, 34px);
  white-space: nowrap;
}

.nav-telegram {
  border-color: rgba(255, 59, 157, 0.35);
  color: #ffd4eb;
  background: rgba(255, 59, 157, 0.12);
}

.nav-telegram:hover {
  border-color: rgba(255, 59, 157, 0.72);
  background: rgba(255, 59, 157, 0.2);
}

.nav-link:hover {
  border-color: var(--line);
  color: var(--text);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

body[data-page="home"] .nav-link[href="index.html"],
body[data-page="about"] .nav-link[href="index.html#about"],
body[data-page="conditions"] .nav-link[href="index.html#offer"],
body[data-page="steps"] .nav-link[href="index.html#steps"],
body[data-page="streams"] .nav-link[href="index.html#streams"],
body[data-page="portfolio"] .nav-link[href="index.html#portfolio"],
body[data-page="apply"] .nav-link[href="index.html#apply"] {
  border-color: var(--line);
  color: var(--text);
  background: var(--accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  min-height: 48px;
  min-width: 48px;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 12px 24px rgba(255, 59, 157, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(255, 59, 157, 0.45);
}

.hero .btn {
  padding: 14px 26px;
  font-size: 0.9rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  color: #f3d4e5;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  padding-bottom: 4px;
}

.hero-link::after {
  content: "→";
  transition: transform 0.22s ease;
}

.hero-link:hover::after {
  transform: translateX(3px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(255, 59, 157, 0.2);
}

.btn-telegram {
  border-color: rgba(255, 59, 157, 0.6);
  color: #ffffff;
  background: rgba(255, 59, 157, 0.18);
  box-shadow: 0 10px 20px rgba(255, 59, 157, 0.22);
}

.btn-telegram:hover {
  transform: translateY(-2px);
  background: rgba(255, 59, 157, 0.28);
  box-shadow: 0 14px 26px rgba(255, 59, 157, 0.35);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.68rem;
  margin-bottom: 14px;
}

.page {
  padding: var(--header-height) 0 70px;
  overflow-x: clip;
  max-width: 100%;
}

body[data-page="home"] .page {
  padding-top: 0;
}

.hero {
  min-height: 100vh;
  padding: var(--header-height) 0 40px;
  position: relative;
  color: #ffffff;
  background: radial-gradient(circle at 18% 10%, rgba(255, 59, 157, 0.23), transparent 45%),
    linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(16, 12, 20, 0.9)),
    var(--bg-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: clip;
  display: flex;
  align-items: center;
}

@supports (height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-image: radial-gradient(
    ellipse 65% 35% at center,
    rgba(225, 230, 235, 0.18) 0%,
    rgba(225, 230, 235, 0.08) 40%,
    transparent 65%
  );
  background-size: 420px 210px;
  will-change: background-position, opacity, transform;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.hero::before {
  animation-name: heroGlowLeft;
  animation-duration: 14s;
  animation-delay: -3s;
  transform: translate3d(var(--hero-parallax-x, 0px), var(--hero-parallax-y, 0px), 0);
}

.hero::after {
  animation-name: heroGlowRight;
  animation-duration: 16s;
  animation-delay: -1s;
  background-image: radial-gradient(
    ellipse 65% 35% at center,
    rgba(255, 59, 157, 0.16) 0%,
    rgba(255, 59, 157, 0.06) 40%,
    transparent 65%
  );
  transform: translate3d(var(--hero-parallax-x2, 0px), var(--hero-parallax-y2, 0px), 0);
}

@keyframes heroGlowLeft {
  0% { background-position: 20% 90%; opacity: 0.85; }
  25% { background-position: 30% 75%; opacity: 0.4; }
  50% { background-position: 18% 68%; opacity: 0.3; }
  75% { background-position: 10% 78%; opacity: 0.6; }
  100% { background-position: 20% 90%; opacity: 0.85; }
}

@keyframes heroGlowRight {
  0% { background-position: 80% 88%; opacity: 0.9; }
  25% { background-position: 70% 72%; opacity: 0.35; }
  50% { background-position: 82% 66%; opacity: 0.25; }
  75% { background-position: 90% 76%; opacity: 0.65; }
  100% { background-position: 80% 88%; opacity: 0.9; }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  justify-items: stretch;
  padding-top: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  line-height: 1.12;
  margin: 10px 0 14px;
  max-width: 640px;
  text-shadow: 0 6px 24px rgba(255, 59, 157, 0.18);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-text {
  text-align: left;
  max-width: 600px;
  margin-left: 0;
  margin-right: 0;
  padding-top: 0;
  min-width: 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 59, 157, 0.35);
  background: rgba(255, 59, 157, 0.14);
  color: #ffd4eb;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.34vw, 1.1rem);
  line-height: 1.7;
  max-width: 590px;
  margin: 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
}

.hero-metric {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-radius: 14px;
  padding: 11px 12px;
}

.hero-metric strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.15rem;
  line-height: 1;
  color: #ffffff;
}

.hero-metric span {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  justify-content: flex-start;
}

.hero-tags {
  justify-content: flex-start;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 590px;
  font-size: var(--type-body-lg);
  line-height: 1.75;
  margin-left: 0;
  margin-right: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 14px;
}

.hero-actions.section-cta {
  margin-top: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-tags span {
  border: 1px solid rgba(255, 59, 157, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fdf7fb;
  background: rgba(255, 255, 255, 0.08);
}

.hero .btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(255, 59, 157, 0.2);
}

.hero-media {
  width: 100%;
  min-width: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
  position: relative;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 12%, rgba(255, 59, 157, 0.22), transparent 42%);
  pointer-events: none;
}

.hero-media-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.hero-media-head strong {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.hero-media-head span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.03em;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: 22px;
  padding-left: 0;
  padding-right: 0;
  cursor: grab;
  max-width: 100%;
  touch-action: pan-y;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
  box-sizing: border-box;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 74%;
  min-height: 520px;
  border-radius: 24px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px var(--shadow);
  color: #ffffff;
}

.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  filter: none;
  opacity: 1;
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 12, 0.05), rgba(10, 8, 12, 0.55));
}

.carousel-slide h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  max-width: 240px;
}

.carousel-slide p {
  position: relative;
  z-index: 1;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 12px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-left: 0;
  position: relative;
  z-index: 1;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(17, 17, 17, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.is-active {
  width: 28px;
  background: var(--accent);
}

.section {
  padding: var(--section-space) 0;
  scroll-margin-top: 120px;
  overflow-x: clip;
}

.section > .container > * + * {
  margin-top: var(--spacing-md);
}

.content-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 920px;
}

.section h2 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-bottom: 16px;
}

.section p {
  color: var(--muted);
}

.section-title-global {
  font-size: var(--type-h1);
  text-align: center;
  margin-bottom: 1.2rem;
  color: var(--text);
  position: relative;
  padding-bottom: 0.6rem;
  text-wrap: balance;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-global::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.section-subtitle-global {
  font-size: var(--type-body);
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.section-lead {
  color: var(--muted);
  max-width: 660px;
  margin-bottom: 30px;
}

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

.section-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.section-center .hero-actions {
  justify-content: center;
}

.section,
.page-hero,
.section-center {
  overflow-x: clip;
}

:is(.offer-item, .steps-item, .portfolio-block, .form-card, .income-card, .video-card) {
  backdrop-filter: blur(4px) saturate(116%);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  min-width: 0;
}

.split-content {
  align-self: center;
  max-width: 620px;
}

.split-content .eyebrow {
  margin-bottom: 12px;
}

.split-content .section-title-global {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 620px;
  line-height: 1.16;
}

.split-content .section-title-global::after {
  left: 0;
  transform: none;
}

.split-content .section-subtitle-global,
.split-content .section-lead,
.split-content p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 600px;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.split-content .hero-actions {
  justify-content: flex-start;
  margin-top: 20px;
}

.about-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mosaic-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px var(--shadow);
}

.mosaic-tile.large {
  grid-row: span 2;
}

.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.note-grid {
  display: grid;
  gap: 16px;
}

.note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
}

.note strong {
  display: block;
  margin-bottom: 6px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.video-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}

.video-tile {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f0b14;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}

.video-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-tile.large {
  grid-row: span 2;
}

.page-hero {
  padding: 40px 0 24px;
  scroll-margin-top: 120px;
}

.page-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 12px 0 14px;
}

.page-hero p {
  color: var(--muted);
  max-width: 640px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.info-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px var(--shadow);
}

.info-card span {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

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

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  overflow-x: clip;
}

.offer-card {
  background: var(--panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 26px;
  text-align: center;
  position: relative;
}

.offer-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

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

.offer-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 2rem;
  opacity: 0.6;
}

.offer-step {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(240, 181, 199, 0.18);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.offer-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.offer-item {
  padding: 22px 0;
  border-radius: 12px;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.offer-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: #f6e8f2;
  font-weight: 600;
  margin: 0 0 10px;
}

.offer-item p {
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

.offer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-top: 20px;
  opacity: 0.6;
}

.offer-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.steps-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}

.steps-card span {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 8px;
}

.steps-card h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.steps-list {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  transition: border-color 0.22s ease, background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  min-height: 142px;
}

.steps-item:hover {
  border-color: rgba(255, 59, 157, 0.6);
  background: rgba(255, 59, 157, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.steps-number {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.steps-content {
  display: grid;
  gap: 8px;
}

.steps-content h3 {
  font-family: var(--font-title);
  font-size: 1.46rem;
  margin: 0 0 8px;
  text-align: left;
  line-height: 1.18;
}

.steps-content p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
  text-align: left;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.video-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px var(--shadow);
  border-color: rgba(255, 59, 157, 0.42);
}

.video-preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0f0b14;
}

.video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-meta {
  padding: 14px 16px;
  font-weight: 600;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.section-head .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
}

.portfolio-block {
  background: linear-gradient(145deg, rgba(23, 18, 30, 0.96), rgba(11, 10, 18, 0.94));
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(16px, 2.6vw, 30px);
  min-width: 0;
  max-width: none;
  margin: 0 auto;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.38);
}

.portfolio-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  margin-bottom: 14px;
  text-align: center;
}

.portfolio-block h3 {
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  margin: 0;
}

.portfolio-header p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 680px;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-slider {
  display: grid;
  gap: 0;
}

.portfolio-stage {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(10, 8, 13, 0.88);
  padding: 12px;
  min-width: 0;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.portfolio-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0;
  scroll-padding-inline: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0810;
  scroll-snap-align: center;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.44);
  position: relative;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 58vw, 820px);
}

.portfolio-slide img {
  width: 100%;
  height: auto;
  max-height: min(82vh, 920px);
  object-fit: contain;
  background: #07060b;
  display: block;
}

.portfolio-slide figcaption {
  display: none;
}

.portfolio-slide figcaption span {
  color: var(--accent-strong);
}

.portfolio-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 7, 11, 0.78);
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
  z-index: 4;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.portfolio-btn:hover {
  background: rgba(255, 59, 157, 0.24);
  border-color: rgba(255, 59, 157, 0.62);
}

.portfolio-btn.prev { left: 14px; }
.portfolio-btn.next { right: 14px; }

.portfolio-dots {
  display: none;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.portfolio-dots::-webkit-scrollbar {
  display: none;
}

.portfolio-dot {
  width: 84px;
  min-width: 84px;
  height: 124px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 12, 20, 0.95);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 6px;
  padding: 4px 4px 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-items: center;
  justify-items: center;
  flex-shrink: 0;
}

.portfolio-dot img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.portfolio-dot span {
  line-height: 1;
}

.portfolio-dot.is-active {
  border-color: rgba(255, 59, 157, 0.82);
  box-shadow: 0 0 0 2px rgba(255, 59, 157, 0.16);
  color: #ffd4eb;
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
  align-items: stretch;
}

.income-card {
  background: var(--panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 18px 32px var(--shadow);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.income-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.income-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.income-body h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.income-amount {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent-strong);
  margin-bottom: 14px;
}

.income-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-strip {
  padding: 18px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  min-height: 92px;
}

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.trust-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.trust-item a {
  display: inline-block;
  margin-top: 8px;
  color: #ffd4eb;
  border-bottom: 1px solid rgba(255, 59, 157, 0.5);
  font-weight: 600;
}

.income-note::before {
  content: "↗";
  color: var(--accent-strong);
  font-size: 0.9rem;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.form-intro {
  position: sticky;
  top: 120px;
  background: var(--panel);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 24px;
}

.form-intro h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.form-intro p {
  color: var(--muted);
  margin-bottom: 14px;
}

.form-intro ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-intro li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.mini-steps {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.mini-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(240, 181, 199, 0.08);
}

.mini-step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a0d16;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.mini-step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.form-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: 0 20px 40px var(--shadow);
}

.form-card-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.form-side-progress {
  position: sticky;
  top: 112px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}

.form-side-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.form-side-header h3 {
  margin: 0;
  font-size: 1rem;
}

.form-side-header span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-side-bar {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 12px;
}

.form-side-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  transition: width 0.24s ease;
}

.form-side-list {
  list-style: none;
  display: grid;
  gap: 6px;
  max-height: 420px;
  overflow: auto;
  padding-right: 4px;
}

.form-side-list li {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 6px 8px;
  border: 1px solid transparent;
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.form-side-list li.is-active {
  color: #ffffff;
  border-color: rgba(255, 59, 157, 0.42);
  background: rgba(255, 59, 157, 0.14);
}

.form-side-list li.is-done {
  color: #ffd4eb;
}

.form-main {
  min-width: 0;
}

.form-section {
  display: grid;
  gap: 26px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.form-section .form-intro {
  position: static;
  max-width: 700px;
  text-align: center;
}

.form-section .form-card {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.form-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.form-progress-count {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.form-progress-bar {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.form-progress-bar span {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  border-radius: inherit;
  transition: width 0.3s ease;
}

.form-steps {
  display: grid;
  gap: 18px;
}

.form-step {
  display: none;
  gap: 12px;
}

.form-step.is-active {
  display: grid;
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.form-nav .btn {
  min-width: 160px;
}

.hidden {
  display: none !important;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
}

.field label {
  white-space: pre-line;
}

.field input:not([type="radio"]):not([type="checkbox"]),
.field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}


.field input:not([type="radio"]):not([type="checkbox"])::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.field input:not([type="radio"]):not([type="checkbox"]):focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 59, 157, 0.25);
}

.field.is-error input:not([type="radio"]):not([type="checkbox"]),
.field.is-error textarea {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 59, 157, 0.18);
}

.field-error {
  color: var(--accent-strong);
  font-size: 0.85rem;
}

.contact-choice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  color: var(--text);
}

.contact-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: transparent;
  margin: 0;
  padding: 0;
  box-shadow: none;
  outline: none;
  pointer-events: none;
}

.contact-option input[type="radio"]:checked {
  border-color: var(--accent);
  background: radial-gradient(circle at center, var(--accent) 0 45%, transparent 52% 100%);
}

.contact-option span {
  line-height: 1.1;
  font-weight: 500;
}

.contact-option.is-focused {
  box-shadow: 0 0 0 2px rgba(255, 59, 157, 0.28);
}

.contact-option.is-selected {
  border-color: rgba(255, 59, 157, 0.62);
  background: rgba(255, 59, 157, 0.12);
}

.field.full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.form-actions .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-status {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 12px;
}

.form-status.is-error {
  color: var(--accent-strong);
}

.form-status.is-success {
  color: #ffd1e7;
}

.form-next.hidden {
  display: none;
}

.form-next {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.form-next-title {
  margin: 0;
  color: var(--muted);
}

.form-next-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  filter: saturate(0.8);
}

.site-footer {
  border-top: 1px solid rgba(255, 59, 157, 0.16);
  padding: 58px 0 calc(38px + env(safe-area-inset-bottom));
  background: radial-gradient(circle at 10% 0%, rgba(255, 59, 157, 0.12), transparent 45%), #0c0a10;
  color: #fdf7fb;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.footer-brand-text strong {
  font-family: var(--font-title);
  font-size: 1.04rem;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.footer-brand-text span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  width: 100%;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-note {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  position: relative;
  width: min(960px, 92%);
  background: #0d0a12;
  border-radius: var(--radius-md);
  border: 1px solid rgba(240, 181, 199, 0.2);
  padding: 18px;
  z-index: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

.modal-content video {
  width: 100%;
  border-radius: var(--radius-sm);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(240, 181, 199, 0.3);
  background: rgba(240, 181, 199, 0.1);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mask {
  clip-path: inset(0 0 100% 0 round 16px);
  transition: clip-path 0.7s ease, opacity 0.7s ease, transform 0.7s ease;
}

.reveal-mask.is-visible {
  clip-path: inset(0 0 0 0 round 16px);
}

:is(.btn, .nav-link, .carousel-dot, .portfolio-dot, .video-card, .steps-item, .offer-item, .floating-menu-btn):focus-visible {
  outline: 2px solid rgba(255, 121, 198, 0.82);
  outline-offset: 2px;
}

@media (pointer: fine) {
  :is(.btn, .nav-link, .video-card, .steps-item, .offer-item, .floating-menu-btn):hover {
    transform: translateY(-1px);
  }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 80;
}

body.nav-open .mobile-nav {
  display: block;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 10, 0.75);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 30px 24px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(10, 7, 12, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(240, 181, 199, 0.08);
  opacity: 0;
  transform: scale(0.96);
  transition: all 0.3s ease;
}

body.nav-open .mobile-nav-backdrop {
  opacity: 1;
}

body.nav-open .mobile-nav-panel {
  opacity: 1;
  transform: scale(1);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 320px;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(240, 181, 199, 0.08);
  color: var(--text);
  cursor: pointer;
}

.mobile-nav-links {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

.mobile-nav-links a {
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.floating-menu-btn {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  padding: 12px 22px;
  border-radius: 16px;
  border: 1px solid rgba(240, 181, 199, 0.4);
  background: #111017;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: none;
  gap: 10px;
  align-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.floating-menu-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.floating-menu-logo {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

@media (min-width: 768px) {
  .section {
    padding: var(--section-space) 0;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1240px;
  }

  .hero-grid {
    gap: 64px;
    grid-template-columns: minmax(0, 1.02fr) minmax(500px, 0.98fr);
  }

  .carousel-slide {
    flex-basis: 66%;
  }
}

@media (max-width: 1360px) {
  .header-grid {
    gap: 14px;
  }

  .site-nav {
    gap: 4px;
  }

  .nav-link {
    padding: 7px 7px;
    font-size: 0.68rem;
    letter-spacing: 0.035em;
  }
}

@media (max-width: 1680px) and (min-width: 1361px) {
  .brand-stack strong {
    font-size: 1.24rem;
  }

  .brand-stack small {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
  }

  .site-nav {
    gap: 3px;
  }

  .nav-link {
    font-size: 0.66rem;
    letter-spacing: 0.03em;
    padding: 8px 6px;
  }

  .site-header .btn-primary {
    padding-inline: 24px;
    min-height: 46px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 992px) {
  .site-footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }

  .header-grid {
    grid-template-columns: auto auto;
    justify-content: space-between;
    justify-items: stretch;
    width: 100%;
  }

  .site-nav {
    display: none;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .brand {
    justify-content: flex-start;
  }

  .site-header .btn-primary {
    justify-self: end;
  }

  .hero-grid {
    padding-top: 0;
    gap: 26px;
  }

  .hero-text {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-text h1 {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead,
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-tags {
    justify-content: center;
  }

  .hero-metrics {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-media {
    width: 100%;
    max-width: 760px;
  }

  .about-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-tile.large {
    grid-row: auto;
  }

  .carousel-viewport {
    padding-left: 0;
    mask-image: none;
  }

  .carousel-track {
    padding-left: 0;
  }

  .carousel-dots {
    padding-left: 0;
    justify-content: center;
  }

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

  .offer-card:not(:last-child)::after {
    display: none;
  }

  .form-shell {
    grid-template-columns: 1fr;
  }

  .form-intro {
    position: static;
  }

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

  .form-card-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-side-progress {
    position: static;
  }

  .form-side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .floating-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  body,
  .page,
  .hero,
  .section,
  .site-header {
    max-width: 100%;
    overflow-x: hidden;
  }

  :root {
    --header-height: 72px;
    --spacing-xxl: 80px;
    --spacing-xl: 40px;
  }

  .header-grid {
    grid-template-columns: auto 1fr;
    justify-items: stretch;
    align-items: center;
    text-align: left;
    row-gap: 0;
    column-gap: 14px;
  }

  .site-header .btn-primary {
    display: none;
  }

  .brand {
    justify-content: flex-start;
  }

  .container {
    width: 100%;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-stack strong {
    font-size: 1.06rem;
  }

  .brand-stack small {
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }

  .hero {
    min-height: auto;
    padding: var(--header-height) 0 42px;
  }

  .page {
    padding-top: 0;
  }

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

  .hero-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .split-content {
    text-align: center;
  }

  .split-content .section-title-global,
  .split-content .section-subtitle-global,
  .split-content p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .split-content .section-title-global::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .split-content .hero-actions {
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 10px;
  }

  .hero-text {
    order: 1;
  }

  .hero-media {
    order: 2;
    width: 100%;
    padding: 12px;
    border-radius: 22px;
  }

  .hero-media-head {
    text-align: center;
  }

  .hero-media-head strong {
    font-size: 1.05rem;
  }

  .carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .carousel-viewport {
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    overflow: hidden;
    border-radius: 20px;
  }

  .carousel-track {
    padding-left: 0;
    padding-right: 0;
    margin-right: 0;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 12px;
  }

  .carousel-slide {
    flex: 0 0 84%;
    width: auto;
    min-height: 340px;
    aspect-ratio: 3 / 4;
  }

  .hero-text h1 {
    font-size: clamp(2rem, 7.6vw, 2.45rem);
    line-height: 1.1;
  }

  .hero-text p,
  .hero-lead {
    font-size: 0.96rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .section {
    scroll-margin-top: calc(var(--header-height) + 22px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  .offer-item {
    padding: 18px 0;
  }

  .offer-title {
    font-size: 1.2rem;
  }

  .offer-divider {
    margin-top: 16px;
  }

  .section-title-global {
    font-size: 1.7rem;
  }

  .section-subtitle-global {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .video-mosaic {
    grid-template-columns: 1fr;
  }

  .video-tile.large {
    grid-row: auto;
  }

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

  .form-card {
    padding: 22px;
  }

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

  .portfolio-btn {
    display: none;
  }

  .portfolio-block {
    padding: 12px;
  }

  .portfolio-header {
    gap: 6px;
    margin-bottom: 12px;
  }

  .portfolio-header p {
    font-size: 0.88rem;
  }

  .portfolio-stage {
    border-radius: 16px;
    padding: 8px;
    width: 100%;
  }

  .portfolio-slide {
    min-height: clamp(360px, 72vw, 600px);
  }

  .portfolio-slide img {
    height: auto;
    max-height: min(68vh, 620px);
    object-fit: contain;
  }

  .portfolio-dot {
    width: 72px;
    min-width: 72px;
    height: 104px;
    border-radius: 10px;
    font-size: 0.6rem;
    padding: 3px 3px 5px;
  }

  .portfolio-dot img {
    height: 76px;
    border-radius: 6px;
  }

  .form-nav .btn {
    width: 100%;
  }

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

  .form-actions .btn-row .btn {
    width: 100%;
  }

  .steps-item {
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    min-height: 0;
    padding: 18px 16px;
  }

  .steps-number {
    font-size: 1.58rem;
    margin-top: 2px;
  }

  .steps-content h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .steps-content p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .income-card img {
    height: 200px;
  }

  .footer-grid {
    text-align: center;
    max-width: 100%;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 480px) {
  html { font-size: 15px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.2rem; }

  .header-grid {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
    min-height: 70px;
  }

  .brand {
    justify-content: flex-start;
  }

  .btn {
    padding: 11px 18px;
    font-size: 0.78rem;
  }

  .hero .btn {
    padding: 13px 18px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    padding: 5px 11px;
  }

  .section-title-global {
    font-size: 1.55rem;
    margin-bottom: 0.9rem;
  }

  .section-subtitle-global {
    font-size: 0.88rem;
    margin-bottom: 1.6rem;
  }

  .hero-text h1 {
    font-size: 1.86rem;
    line-height: 1.1;
  }

  .brand-stack strong {
    font-size: 0.98rem;
  }

  .brand-stack small {
    font-size: 0.54rem;
    letter-spacing: 0.15em;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-media {
    padding: 10px;
    border-radius: 18px;
  }

  .hero-media-head strong {
    font-size: 1rem;
  }

  .hero-media-head span {
    font-size: 0.8rem;
  }

  .carousel-slide {
    flex-basis: 88%;
    min-height: 292px;
  }

  .portfolio-slide {
    min-height: clamp(300px, 84vw, 520px);
  }

  .portfolio-slide img {
    height: auto;
    max-height: min(62vh, 520px);
    object-fit: contain;
  }

  .portfolio-dot {
    width: 66px;
    min-width: 66px;
    height: 95px;
  }

  .portfolio-dot img {
    height: 66px;
  }

  .footer-brand {
    gap: 10px;
  }

  .footer-brand img {
    width: 36px;
    height: 36px;
  }

  .footer-brand-text strong {
    font-size: 0.95rem;
  }

  .footer-brand-text span {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

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

  .section {
    padding: 44px 0;
  }

  .section-lead {
    font-size: 0.95rem;
  }

  .about-mosaic {
    gap: 10px;
  }

  .mosaic-tile {
    min-height: 180px;
  }

  .form-progress-count {
    font-size: 0.75rem;
  }

  .field input:not([type="radio"]):not([type="checkbox"]),
  .field textarea {
    font-size: 0.95rem;
  }

  .floating-menu-btn {
    left: 50%;
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    padding: 10px 18px;
    border-radius: 999px;
    letter-spacing: 0.12em;
  }
}


/* ===== Unified stable overrides: header, language gate, hero, portfolio ===== */

:root {
  --header-height: 86px;
  --header-shell-width: min(1600px, calc(100vw - 28px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.site-header::before,
.site-header::after {
  content: none !important;
  display: none !important;
}

.site-header .container.header-grid {
  max-width: var(--header-shell-width);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 8px 16px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: linear-gradient(95deg, rgba(66, 14, 49, 0.92), rgba(8, 8, 14, 0.92));
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand {
  min-width: max-content;
}

.brand img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}

.brand-stack strong {
  font-size: 1.06rem;
  line-height: 1.05;
}

.brand-stack small {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.92vw, 16px);
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
  white-space: nowrap;
  border-radius: 12px;
  line-height: 1;
  font-size: clamp(0.76rem, 0.82vw, 0.95rem);
  letter-spacing: 0.04em;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.8) 50%) calc(100% - 14px) 52% / 6px 6px no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.8) 50%, transparent 50%) calc(100% - 9px) 52% / 6px 6px no-repeat,
    rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-select option {
  color: #111;
}

.site-header .btn-primary {
  white-space: nowrap;
  padding-inline: clamp(18px, 2vw, 34px);
}

.page {
  padding-top: 0 !important;
}

.hero {
  margin-top: 0 !important;
  padding-top: 8px !important;
}

.hero-grid {
  padding-top: 0;
}

body.lang-locked {
  overflow: hidden;
}

.language-gate {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(8px);
  z-index: 120;
}

.language-gate.is-visible {
  display: flex;
}

.language-gate-card {
  width: min(500px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(23, 16, 31, 0.98), rgba(11, 10, 18, 0.97));
  box-shadow: 0 28px 52px rgba(0, 0, 0, 0.45);
  padding: clamp(20px, 3.6vw, 30px);
  text-align: center;
}

.language-gate h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.language-gate p {
  margin-bottom: 18px;
  color: var(--muted);
}

.language-gate-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.language-gate-option {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.language-gate-option:hover {
  border-color: rgba(255, 59, 157, 0.62);
  background: rgba(255, 59, 157, 0.16);
}

#portfolio .section-title-global {
  margin-bottom: 18px;
}

.portfolio-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.portfolio-block {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(10px, 1.8vw, 18px);
  border-radius: 20px;
}

.portfolio-block h3,
.portfolio-header p {
  display: none;
}

.portfolio-stage {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  overflow: hidden;
}

@media (max-width: 680px) {
  .contact-choice {
    grid-template-columns: 1fr;
  }

  .form-next-actions {
    grid-template-columns: 1fr;
  }
}

.portfolio-track {
  display: flex;
  gap: 0;
  align-items: flex-start;
  scroll-snap-type: x mandatory;
}

.portfolio-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scroll-snap-align: start;
}

.portfolio-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
}

.portfolio-dots {
  justify-content: center;
  gap: 8px;
  padding-top: 12px;
}

.portfolio-dot {
  width: 8px;
  min-width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
}

.portfolio-dot.is-active {
  width: 24px;
  min-width: 24px;
}

.portfolio-dot img,
.portfolio-dot span {
  display: none !important;
}

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

.footer-note {
  text-align: center;
}

@media (max-width: 1400px) {
  .nav-link {
    font-size: 0.78rem;
    padding: 8px 9px;
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 74px;
    --header-shell-width: calc(100vw - 16px);
  }

  .site-header .container.header-grid {
    grid-template-columns: auto 1fr auto;
    border-radius: 18px;
    gap: 10px;
  }

  .site-nav {
    display: none;
  }

  .site-header .btn-primary {
    display: none;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .mobile-nav-panel {
    padding-top: calc(var(--header-height) + 16px);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --header-shell-width: calc(100vw - 10px);
  }

  .site-header {
    padding: 6px 0;
  }

  .site-header .container.header-grid {
    min-height: var(--header-height);
    padding: 8px 12px;
    border-radius: 14px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-stack strong {
    font-size: 1rem;
  }

  .brand-stack small {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }

  .lang-select {
    min-height: 36px;
    font-size: 0.66rem;
    border-radius: 10px;
  }

  .hero {
    padding-top: 4px !important;
  }

  .portfolio-block {
    padding: 8px;
  }

  .portfolio-stage {
    width: 100%;
  }

  .portfolio-slide img {
    border-radius: 10px;
  }

  .portfolio-btn {
    display: none;
  }
}

@media (max-width: 520px) {
  .language-gate-options {
    grid-template-columns: 1fr;
  }

  .brand-stack {
    display: none;
  }

  .footer-grid {
    text-align: center;
  }

  .footer-note {
    font-size: 0.86rem;
  }
}

/* ===== Final polish (layout stability + header + portfolio) ===== */

html {
  scrollbar-gutter: stable;
}

:root {
  --header-height: 82px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 0;
  background: linear-gradient(90deg, rgba(64, 11, 46, 0.88), rgba(8, 8, 14, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px) saturate(140%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.site-header::before,
.site-header::after {
  display: none !important;
}

.site-header .container.header-grid {
  max-width: min(1680px, calc(100vw - 20px));
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 0.96vw, 16px);
  min-width: 0;
  overflow-x: auto;
}

.nav-link {
  font-size: clamp(0.72rem, 0.78vw, 0.9rem);
  line-height: 1;
  white-space: nowrap;
  padding: 8px 10px;
}

.header-actions {
  min-width: max-content;
  gap: 10px;
}

.site-header .btn-primary {
  padding-inline: clamp(18px, 2.1vw, 34px);
}

.page,
body[data-page="home"] .page {
  padding-top: var(--header-height) !important;
}

.hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
  min-height: calc(100vh - var(--header-height));
}

@supports (height: 100dvh) {
  .hero {
    min-height: calc(100dvh - var(--header-height));
  }
}

.hero-media-head {
  display: none !important;
}

.video-preview video::-webkit-media-controls {
  display: none !important;
}

.video-preview video::-webkit-media-controls-start-playback-button {
  display: none !important;
}

#portfolio .container.portfolio-grid {
  max-width: min(1180px, calc(100vw - 24px));
}

.portfolio-block {
  max-width: 100%;
  padding: clamp(10px, 1.6vw, 16px);
  border-radius: 18px;
}

.portfolio-stage {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 14px;
  overflow: hidden;
}

.portfolio-track {
  display: flex;
  gap: 0 !important;
  align-items: stretch;
}

.portfolio-slide {
  flex: 0 0 100%;
  min-height: 0 !important;
  height: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}

.portfolio-slide img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover;
  border-radius: 0;
}

.portfolio-btn {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(7, 7, 12, 0.65);
}

.portfolio-btn:hover {
  background: rgba(255, 59, 157, 0.22);
}

.portfolio-dots {
  margin-top: 10px;
}

.mobile-nav {
  z-index: 130;
}

.mobile-nav-panel {
  top: calc(var(--header-height) + 8px);
  left: 8px;
  right: 8px;
  width: auto;
  height: calc(100dvh - var(--header-height) - 16px);
  border-radius: 16px;
  padding: 14px 14px calc(20px + env(safe-area-inset-bottom));
  justify-content: flex-start;
  gap: 12px;
  overflow-y: auto;
}

.mobile-nav-header,
.mobile-nav-links {
  width: 100%;
  max-width: none;
}

.mobile-nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 12px 14px;
}

.floating-menu-btn {
  bottom: calc(14px + env(safe-area-inset-bottom));
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-menu-btn.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(14px);
}

@media (max-width: 1200px) {
  :root {
    --header-height: 72px;
  }

  .site-header .container.header-grid {
    max-width: calc(100vw - 12px);
    padding: 0 10px;
    gap: 10px;
  }

  .site-nav {
    display: none;
  }

  .site-header .btn-primary {
    display: none !important;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-stack strong {
    font-size: 0.98rem;
  }

  .brand-stack small {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }

  #portfolio .container.portfolio-grid {
    max-width: calc(100vw - 16px);
  }

  .portfolio-stage {
    max-width: 100%;
  }

  .site-footer {
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .hero-grid {
    padding-top: 10px;
  }

  .hero-text {
    padding-top: 6px;
  }

  .hero-eyebrow {
    margin-top: 4px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .site-header .container.header-grid {
    max-width: calc(100vw - 8px);
    min-height: var(--header-height);
    padding: 0 8px;
  }

  .brand-stack {
    display: flex;
  }

  .brand-stack strong {
    font-size: 0.92rem;
  }

  .brand-stack small {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }

  .lang-select {
    min-height: 34px;
    font-size: 0.62rem;
    padding-left: 10px;
  }

  .hero {
    min-height: auto;
  }

  .portfolio-block {
    padding: 8px;
  }

  .mobile-nav-panel {
    left: 6px;
    right: 6px;
    top: calc(var(--header-height) + 6px);
    height: calc(100dvh - var(--header-height) - 12px);
  }
}

/* ===== Final income + portfolio clarity tweaks ===== */
.income-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.income-card img.income-photo-luana {
  object-position: center 12%;
}

.portfolio-swipe-hint {
  margin: 12px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}

.portfolio-swipe-hint::before,
.portfolio-swipe-hint::after {
  color: rgba(255, 59, 157, 0.96);
  font-size: 0.95rem;
  line-height: 1;
  animation: portfolioHintPulse 1.6s ease-in-out infinite;
}

.portfolio-swipe-hint::before {
  content: "←";
}

.portfolio-swipe-hint::after {
  content: "→";
}

@keyframes portfolioHintPulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(2px);
    opacity: 1;
  }
}

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

@media (max-width: 640px) {
  .income-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
  }

  .portfolio-swipe-hint {
    font-size: 0.78rem;
    padding: 7px 12px;
  }
}

/* ===== Streamflow hero revamp ===== */
body[data-page="home"] .hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 22%, rgba(255, 116, 197, 0.26), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(116, 162, 255, 0.22), transparent 46%),
    linear-gradient(138deg, rgba(11, 9, 16, 0.98), rgba(26, 10, 24, 0.95) 56%, rgba(11, 10, 20, 0.98));
}

body[data-page="home"] .hero::before,
body[data-page="home"] .hero::after {
  opacity: 0.8;
  mix-blend-mode: screen;
}

body[data-page="home"] .hero-dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.72;
}

body[data-page="home"] .hero-gridline {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 52% 42%, #000 18%, transparent 74%);
  animation: heroGridPan 20s linear infinite;
}

@keyframes heroGridPan {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-52px, -52px, 0);
  }
}

body[data-page="home"] .hero-grid {
  position: relative;
  z-index: 2;
  align-items: center;
  gap: clamp(26px, 4.5vw, 70px);
}

body[data-page="home"] .hero-text h1 {
  max-width: 720px;
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.03;
  margin-bottom: 16px;
  background: linear-gradient(95deg, #ffffff 8%, #ffd6f2 42%, #f4dcff 72%, #d8e4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

body[data-page="home"] .hero-lead {
  max-width: 620px;
  color: rgba(255, 245, 251, 0.88);
  line-height: 1.75;
}

body[data-page="home"] .hero-metrics {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="home"] .hero-metric {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  animation: heroBadgeBob 6.2s ease-in-out infinite;
}

body[data-page="home"] .hero-metric:nth-child(2) {
  animation-delay: 0.7s;
}

body[data-page="home"] .hero-metric:nth-child(3) {
  animation-delay: 1.2s;
}

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

body[data-page="home"] .hero-metric strong {
  font-size: 1.22rem;
  letter-spacing: 0.02em;
}

body[data-page="home"] .hero-metric span {
  margin-top: 5px;
  color: rgba(255, 238, 248, 0.84);
}

body[data-page="home"] .hero-tags {
  margin-top: 12px;
  gap: 8px;
}

body[data-page="home"] .hero-tags span {
  border-color: rgba(255, 146, 209, 0.42);
  background: rgba(255, 146, 209, 0.12);
  color: rgba(255, 232, 245, 0.9);
}

body[data-page="home"] .hero-actions {
  margin-top: 22px;
}

body[data-page="home"] .hero-media {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 30px 68px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s ease;
  overflow: visible;
}

body[data-page="home"] .hero-media::before {
  background: radial-gradient(circle at 84% 8%, rgba(118, 174, 255, 0.2), transparent 42%);
}

body[data-page="home"] .hero-media::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 174, 224, 0.48);
  pointer-events: none;
  box-shadow: 0 0 44px rgba(255, 109, 193, 0.2);
  animation: heroFrameGlow 6s ease-in-out infinite;
}

@keyframes heroFrameGlow {
  0%,
  100% {
    opacity: 0.58;
  }
  50% {
    opacity: 1;
  }
}

body[data-page="home"] .hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

body[data-page="home"] .orbit-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(10, 8, 14, 0.54);
  color: rgba(255, 241, 249, 0.92);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  animation: heroOrbitFloat 8s ease-in-out infinite;
}

body[data-page="home"] .orbit-chip.chip-a {
  top: -16px;
  left: 16px;
  animation-delay: 0s;
}

body[data-page="home"] .orbit-chip.chip-b {
  top: 42%;
  right: -24px;
  animation-delay: 1.2s;
}

body[data-page="home"] .orbit-chip.chip-c {
  bottom: -18px;
  left: 22%;
  animation-delay: 2.1s;
}

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

body[data-page="home"] .hero-media-head {
  display: flex !important;
  flex-direction: column;
  position: relative;
  z-index: 2;
  gap: 5px;
  margin-bottom: 14px;
}

body[data-page="home"] .hero-media-head strong {
  font-size: 1.16rem;
}

body[data-page="home"] .hero-media-head span {
  color: rgba(255, 234, 246, 0.82);
}

body[data-page="home"] .hero-media .carousel {
  z-index: 2;
}

body[data-page="home"] .carousel-viewport {
  border-radius: 24px;
}

body[data-page="home"] .carousel-slide {
  opacity: 0.58;
  transform: translateY(10px) scale(0.92);
  transition: transform 0.45s ease, opacity 0.45s ease;
}

body[data-page="home"] .carousel-slide.is-current {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-page="home"] .carousel-slide::after {
  background: linear-gradient(180deg, rgba(9, 8, 11, 0.04), rgba(9, 8, 11, 0.7));
}

body[data-page="home"] .carousel-slide h3 {
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.42);
}

body[data-page="home"] .carousel-dot {
  background: rgba(255, 255, 255, 0.28);
}

body[data-page="home"] .carousel-dot.is-active {
  background: linear-gradient(90deg, #ff58b2, #ff8fcb);
}

body[data-page="home"] .hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 25px;
  height: 40px;
  margin-left: -12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.86;
}

body[data-page="home"] .hero-scroll-hint span {
  width: 5px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  animation: heroScrollPulse 1.6s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0% {
    transform: translateY(0);
    opacity: 0.9;
  }
  70% {
    transform: translateY(12px);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
}

@media (max-width: 1100px) {
  body[data-page="home"] .hero-text h1 {
    font-size: clamp(2.05rem, 7vw, 3.1rem);
  }

  body[data-page="home"] .carousel-slide {
    min-height: 500px;
  }

  body[data-page="home"] .hero-orbit {
    display: none;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .hero {
    padding-bottom: 24px;
  }

  body[data-page="home"] .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .hero-scroll-hint {
    display: none;
  }
}

@media (max-width: 560px) {
  body[data-page="home"] .hero-metrics {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .carousel-slide {
    min-height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .hero-gridline,
  body[data-page="home"] .hero-metric,
  body[data-page="home"] .orbit-chip,
  body[data-page="home"] .hero-media::after,
  body[data-page="home"] .hero-scroll-hint span {
    animation: none !important;
  }

  body[data-page="home"] .carousel-slide {
    opacity: 1;
    transform: none;
  }
}
