:root {
  --paper: #ffffff;
  --paper-soft: #fafaf8;
  --panel: #ffffff;
  --panel-warm: #f6f1ea;
  --section-light: #ffffff;
  --section-cream: #fafaf8;
  --section-warm: #f6f1ea;
  --section-cool: #f5f5f2;
  --section-contrast: #fafaf8;
  --ink: #111111;
  --ink-soft: #5f5f5f;
  --muted: #8a8580;
  --warm: #b08a6a;
  --warm-dark: #7f5d43;
  --warm-soft: #f6f1ea;
  --line: #e8e2da;
  --dark: #15110d;
  --shadow: 0 22px 58px rgba(21, 17, 13, 0.07);
  --shadow-strong: 0 34px 90px rgba(21, 17, 13, 0.15);
  --radius: 8px;
  --radius-lg: 22px;
  --container: min(1180px, calc(100% - 44px));
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 7%, rgba(176, 138, 106, 0.035), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(140, 164, 172, 0.045), transparent 28%),
    var(--paper);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(232, 226, 218, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 45px rgba(21, 17, 13, 0.07);
}

.header-inner {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 28px;
  align-items: center;
  width: var(--container);
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-transform: uppercase;
}

.brand-logo-photo {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: cover;
  background: #050505;
  border: 1px solid rgba(176, 138, 106, 0.34);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(21, 17, 13, 0.14);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: #2a2724;
  font-size: 0.92rem;
}

.main-nav a {
  position: relative;
  padding: 30px 0 26px;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--dark);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(58, 47, 38, 0.06);
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.header-cta:hover {
  border-color: rgba(176, 138, 106, 0.5);
  box-shadow: 0 18px 42px rgba(58, 47, 38, 0.1);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  color: var(--dark);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  visibility: hidden;
  background: rgba(21, 17, 13, 0.18);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 200ms ease, visibility 200ms ease;
}

.nav-open .menu-backdrop {
  visibility: visible;
  opacity: 1;
}

.section {
  position: relative;
  padding: 78px 0;
  border-top: 1px solid rgba(232, 226, 218, 0.74);
}

.why,
.style-section,
.configurator-section,
.testimonials {
  background: var(--section-light);
}

.services,
.process,
.faq {
  background: var(--section-cream);
}

.before-after-section,
.packages {
  background: var(--section-contrast);
}

.team,
.portfolio {
  background: var(--section-light);
}

.lead-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(176, 138, 106, 0.08), transparent 26%),
    linear-gradient(135deg, #ffffff, #f6f1ea);
}

section[id] {
  scroll-margin-top: 96px;
}

.section-top {
  display: flex;
  gap: 36px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.section-top > p,
.section-top div + p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
}

.section-label,
.section-kicker {
  margin: 0;
  color: var(--warm);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 570px;
  font-size: clamp(2.75rem, 3.8vw, 4.25rem);
  line-height: 1.05;
}

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

h2 {
  max-width: 620px;
  font-size: clamp(2rem, 2.7vw, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.55rem;
  line-height: 1.1;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 82% 74%, rgba(194, 216, 232, 0.18), transparent 24%),
    radial-gradient(circle at 94% 84%, rgba(224, 190, 124, 0.12), transparent 18%),
    linear-gradient(110deg, rgba(255, 255, 255, 1), rgba(250, 250, 248, 0.92) 44%, rgba(246, 241, 234, 0.22));
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.16fr);
  gap: 44px;
  align-items: center;
  min-height: 660px;
  padding: 52px 0 44px;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-text {
  max-width: 545px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.button {
  display: inline-grid;
  place-items: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-dark {
  color: #fff;
  background: var(--dark);
  box-shadow: 0 18px 42px rgba(21, 17, 13, 0.17);
}

.button-dark:hover {
  background: #241d17;
  box-shadow: 0 22px 52px rgba(21, 17, 13, 0.2);
}

.button-light {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(58, 47, 38, 0.06);
}

.button-light:hover {
  border-color: rgba(176, 138, 106, 0.55);
  background: #fff;
  box-shadow: 0 18px 42px rgba(58, 47, 38, 0.1);
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px;
  padding: 0;
  margin: 44px 0 0;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  min-height: 38px;
  padding: 9px 14px 9px 32px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(58, 47, 38, 0.05);
  font-size: 0.84rem;
}

.hero-benefits li::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--warm);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-visual {
  position: relative;
  min-height: clamp(430px, 42vw, 590px);
  perspective: 1200px;
}

.device {
  position: absolute;
  will-change: transform;
}

.tablet {
  right: 0;
  top: 50%;
  width: clamp(420px, 48vw, 760px);
  max-width: 100%;
  --move-x: 0px;
  --move-y: 0px;
  animation: tabletFloat 6s ease-in-out infinite;
  transform: translate3d(var(--move-x), calc(-50% + var(--move-y)), 0) rotateZ(-1.2deg);
  transition: transform 220ms ease-out;
}

.device-shell {
  position: relative;
  padding: clamp(12px, 1.2vw, 18px);
  background:
    linear-gradient(140deg, #25211e, #050505 55%, #201a16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 38px;
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.device-shell::before {
  position: absolute;
  inset: 6px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
}

.device-camera {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  display: block;
  width: 46px;
  height: 6px;
  background: #020202;
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue {
  position: absolute;
  top: -16px;
  right: 32px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #71553d;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(176, 138, 106, 0.25);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(21, 17, 13, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.scroll-cue::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  animation: cueDown 1.45s ease-in-out infinite;
}

.tablet-screen {
  position: relative;
  --tablet-screen-height: clamp(328px, 27vw, 412px);
  height: var(--tablet-screen-height);
  overflow-x: hidden;
  overflow-y: auto;
  cursor: grab;
  background: #ffffff;
  border-radius: 24px;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scrollbar-color: rgba(176, 138, 106, 0.38) transparent;
  scrollbar-width: thin;
  overscroll-behavior: auto;
  touch-action: pan-y;
}

.tablet-screen::-webkit-scrollbar {
  width: 6px;
  height: 0;
}

.tablet-screen::-webkit-scrollbar-track {
  background: transparent;
}

.tablet-screen::-webkit-scrollbar-thumb {
  background: rgba(176, 138, 106, 0.34);
  border-radius: 999px;
}

.tablet-screen.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.tablet-track {
  display: block;
  min-height: 100%;
}

.tablet-slide {
  min-height: var(--tablet-screen-height);
  padding: clamp(16px, 1.45vw, 22px) clamp(16px, 1.55vw, 24px) clamp(18px, 1.8vw, 24px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.tablet-slide::-webkit-scrollbar {
  display: none;
}

.tablet-slide > * {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

.tablet-slide.is-current > * {
  opacity: 1;
  transform: translateY(0);
}

.device-label {
  margin: 0 0 12px;
  color: var(--warm);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tablet-lead {
  max-width: 620px;
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  line-height: 1.55;
}

.founders-slide {
  background: #ffffff;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.founder-card,
.feature-card,
.service-card,
.style-preview,
.studio-logo-profile,
.founders-roles-card,
.story-card,
.config-result,
.package-card,
.review-card,
.faq-item,
.lead-form {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(232, 226, 218, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(21, 17, 13, 0.055);
}

.founder-card {
  padding: 12px;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1 / 0.5;
  overflow: hidden;
  background-image: url("assets/ul-founders-illustration.png");
  background-repeat: no-repeat;
  background-size: 208% auto;
  border-radius: 18px;
}

.founder-ulyana {
  background-position: left 30%;
}

.founder-lika {
  background-position: right 30%;
}

.founder-info {
  padding: 12px 3px 0;
}

.founder-info span,
.profile-letter {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--dark);
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
}

.founder-info h3 {
  margin-top: 8px;
  font-size: clamp(1.24rem, 1.7vw, 1.48rem);
}

.founder-info p {
  margin: 6px 0 0;
  font-size: 0.84rem;
  line-height: 1.38;
}

.founder-info p,
.tablet-story p,
.story-card p,
.role-row p p,
.feature-card p,
.service-card p,
.package-card p,
.config-result p,
.review-card p,
.portfolio-card small,
.lead-copy p {
  color: var(--ink-soft);
}

.story-slide {
  background: linear-gradient(135deg, #ffffff, #f6f1ea);
}

.tablet-story {
  max-width: 550px;
  padding: clamp(18px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(232, 226, 218, 0.92);
  border-radius: var(--radius-lg);
}

.tablet-story h3 {
  font-size: clamp(1.55rem, 2.4vw, 2.3rem);
}

.idea-road {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.idea-road span {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 46px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(176, 138, 106, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.mini-services-slide {
  background: #fafaf8;
}

.mini-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mini-service-grid span {
  display: grid;
  min-height: clamp(78px, 7.6vw, 116px);
  padding: clamp(12px, 1.4vw, 16px);
  align-items: end;
  color: var(--dark);
  background:
    radial-gradient(circle at 76% 22%, rgba(176, 138, 106, 0.2), transparent 28%),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(176, 138, 106, 0.16);
  border-radius: 18px;
  font-weight: 800;
}

.client-value-slide {
  background:
    radial-gradient(circle at 18% 18%, rgba(176, 138, 106, 0.08), transparent 24%),
    #ffffff;
}

.client-value-slide .tablet-lead {
  max-width: 660px;
  margin-bottom: 8px;
  line-height: 1.42;
}

.client-value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.client-value-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 10px;
  align-items: start;
  min-height: 62px;
  padding: clamp(9px, 1vw, 12px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(176, 138, 106, 0.16);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(21, 17, 13, 0.045);
}

.client-value-list span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: var(--warm-dark);
  background: #f6f1ea;
  border: 1px solid rgba(176, 138, 106, 0.18);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.client-value-list h3 {
  margin: 0 0 2px;
  font-size: clamp(0.86rem, 0.92vw, 0.98rem);
}

.client-value-list p {
  grid-column: 2;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.34;
}

.client-value-list article:last-child {
  grid-column: 1 / -1;
}

.tablet-cta-slide {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #1c1713, #050505);
}

.tablet-cta-card {
  max-width: 430px;
  padding: clamp(26px, 3vw, 36px);
  color: #f8f1e9;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
}

.tablet-cta-card h3 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
}

.tablet-cta-card p:not(.device-label) {
  color: rgba(248, 241, 233, 0.76);
}

.tablet-controls {
  position: absolute;
  right: auto;
  bottom: 13px;
  left: 50%;
  z-index: 8;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateX(-50%);
}

.tablet-dot {
  pointer-events: auto;
}

.tablet-dots {
  display: inline-flex;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(176, 138, 106, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(58, 47, 38, 0.06);
}

.tablet-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(176, 138, 106, 0.38);
  border: 0;
  border-radius: 50%;
}

.tablet-dot.is-active {
  width: 24px;
  background: var(--warm);
}

.feature-grid,
.package-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.service-card,
.package-card,
.review-card {
  padding: 22px;
  background: #ffffff;
  border-color: var(--line);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.service-card:hover,
.package-card:hover,
.portfolio-card:hover,
.review-card:hover {
  border-color: rgba(176, 138, 106, 0.38);
  box-shadow: 0 28px 70px rgba(58, 47, 38, 0.11);
  transform: translateY(-6px);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  color: var(--warm);
  background: #f6eee5;
  border-radius: var(--radius);
  font-size: 1.45rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 334px;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 24px;
  height: 24px;
  content: "\2197";
  display: grid;
  place-items: center;
  color: var(--warm-dark);
  background: var(--warm-soft);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.service-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.service-preview {
  position: relative;
  height: 118px;
  margin-bottom: 20px;
  overflow: hidden;
  background: #f4f4f1;
  border-radius: var(--radius);
}

.service-preview::before,
.service-preview::after {
  position: absolute;
  content: "";
  border-radius: 8px;
}

.service-preview::before {
  inset: 18px 22px 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.32);
}

.service-preview::after {
  right: 28px;
  bottom: 24px;
  width: 56px;
  height: 10px;
  background: var(--warm);
}

.preview-logo::before {
  inset: 24px auto auto 34px;
  width: 64px;
  height: 64px;
  background: var(--dark);
  border-radius: 50%;
}

.preview-logo::after {
  top: 38px;
  right: 38px;
  width: 92px;
  height: 42px;
  background: #dfc9b5;
}

.preview-ads {
  background: linear-gradient(135deg, #171412, #86664f);
}

.preview-social::before {
  inset: 12px 48px;
  border: 8px solid var(--dark);
  border-radius: 20px;
}

.preview-invite {
  background:
    radial-gradient(circle at 72% 24%, #d8a8ab, transparent 36%),
    linear-gradient(135deg, #2a211c, #b08a6a);
}

.preview-photo {
  background:
    radial-gradient(circle at 35% 36%, #f8e3c7, transparent 28%),
    radial-gradient(circle at 70% 60%, #15110d, transparent 26%),
    #e8d6c5;
}

.preview-game {
  background:
    linear-gradient(135deg, rgba(255, 211, 111, 0.88), rgba(240, 165, 74, 0.82)),
    #ffffff;
}

.preview-game::before {
  inset: 20px 36px;
  background:
    linear-gradient(90deg, #15110d 0 18px, transparent 18px 34px, #15110d 34px 52px),
    rgba(255, 255, 255, 0.8);
  border-radius: 14px;
}

.preview-game::after {
  right: 42px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  background: #15110d;
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1.2rem;
}

.service-card a,
.portfolio-card a,
.text-button {
  width: max-content;
  margin-top: auto;
  color: var(--warm-dark);
  background: none;
  border: 0;
  font-weight: 800;
}

.before-after {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(21, 17, 13, 0.09);
  touch-action: none;
}

.ba-panel {
  position: absolute;
  inset: 0;
  display: block;
  padding: 58px 58px 44px;
}

.ba-before {
  color: #5d5952;
  background:
    radial-gradient(circle at 18% 18%, rgba(120, 120, 120, 0.08), transparent 24%),
    linear-gradient(135deg, #f1f1ef, #e4e2de);
}

.ba-after {
  width: 100%;
  overflow: hidden;
  color: var(--dark);
  background:
    radial-gradient(circle at 86% 18%, rgba(176, 138, 106, 0.11), transparent 24%),
    linear-gradient(135deg, #ffffff, #f6f1ea);
  clip-path: inset(0 0 0 var(--ba));
}

.ba-panel > span {
  position: absolute;
  left: 28px;
  top: 24px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  color: var(--warm-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.ba-after > span {
  right: 28px;
  left: auto;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(176, 138, 106, 0.18);
}

.mini-site {
  position: relative;
  min-height: 390px;
  padding: 20px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08), 0 22px 58px rgba(21, 17, 13, 0.08);
}

.mini-site-before {
  width: min(760px, 73%);
  background:
    linear-gradient(180deg, #eeeeeb, #dad7d2);
}

.mini-site-after {
  width: min(720px, 64%);
  margin-left: auto;
  background:
    radial-gradient(circle at 82% 20%, rgba(176, 138, 106, 0.13), transparent 24%),
    #ffffff;
  box-shadow: inset 0 0 0 1px rgba(176, 138, 106, 0.12), 0 28px 70px rgba(21, 17, 13, 0.1);
}

.mini-browser-bar {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
}

.mini-browser-bar i {
  width: 8px;
  height: 8px;
  background: rgba(111, 102, 94, 0.32);
  border-radius: 50%;
}

.mini-site-after .mini-browser-bar i {
  background: rgba(176, 138, 106, 0.5);
}

.mini-nav-line {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  height: 10px;
  margin-bottom: 18px;
}

.mini-nav-line i {
  display: block;
  width: 58px;
  height: 8px;
  background: rgba(111, 102, 94, 0.18);
  border-radius: 999px;
}

.good-nav i {
  width: 48px;
  background: rgba(176, 138, 106, 0.32);
}

.bad-hero,
.good-hero {
  display: grid;
  gap: 18px;
  align-items: stretch;
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
}

.bad-hero {
  grid-template-columns: 1fr 0.8fr;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(90, 90, 90, 0.08);
}

.good-hero {
  grid-template-columns: 1.1fr 0.7fr;
  background:
    linear-gradient(135deg, #ffffff, #fafaf8);
  border: 1px solid rgba(176, 138, 106, 0.14);
}

.bad-hero p,
.good-hero p {
  margin: 0;
  color: var(--warm-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.bad-hero h3 {
  max-width: 300px;
  color: #615b55;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.good-hero h3 {
  max-width: 420px;
  color: var(--dark);
  font-size: clamp(1.65rem, 2.1vw, 2.35rem);
  line-height: 1.02;
}

.bad-hero button,
.good-hero button {
  width: max-content;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  font-size: 0.76rem;
  font-weight: 900;
}

.bad-hero button {
  color: #655d55;
  background: #c9c4bd;
  border-radius: 4px;
}

.good-hero button {
  color: #fff;
  background: var(--dark);
  border-radius: 999px;
}

.bad-image {
  min-height: 120px;
  background:
    linear-gradient(135deg, rgba(111, 102, 94, 0.2), rgba(255, 255, 255, 0.18));
  border-radius: 8px;
}

.good-visual {
  display: grid;
  place-items: center;
  min-height: 150px;
  color: #fff;
  background:
    radial-gradient(circle at 66% 26%, rgba(255, 255, 255, 0.26), transparent 22%),
    linear-gradient(145deg, #15110d, #b08a6a);
  border-radius: 18px;
}

.good-visual strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
}

.good-visual span {
  margin-top: -36px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bad-copy-lines {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.bad-copy-lines i {
  display: block;
  height: 9px;
  background: rgba(111, 102, 94, 0.16);
  border-radius: 999px;
}

.bad-copy-lines i:nth-child(2) { width: 76%; }
.bad-copy-lines i:nth-child(3) { width: 58%; }
.bad-copy-lines i:nth-child(4) { width: 82%; }

.messy-grid,
.polished-grid {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.messy-grid {
  grid-template-columns: 1.25fr 0.75fr 1fr;
}

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

.messy-grid i,
.polished-grid i {
  display: block;
  min-height: 42px;
  background: rgba(111, 102, 94, 0.18);
  border-radius: 9px;
}

.messy-grid i:nth-child(2) {
  transform: translateY(12px);
}

.messy-grid i:nth-child(3) {
  min-height: 24px;
}

.messy-grid i:nth-child(4) {
  min-height: 70px;
}

.messy-grid i:nth-child(5) {
  min-height: 30px;
  transform: translateY(-10px);
}

.good-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.good-benefits span {
  min-height: 42px;
  padding: 12px;
  color: var(--warm-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(176, 138, 106, 0.14);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.polished-grid i {
  min-height: 72px;
  background:
    radial-gradient(circle at 75% 24%, rgba(176, 138, 106, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(176, 138, 106, 0.16);
}

.mini-note {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.ba-panel ul {
  position: absolute;
  right: 54px;
  bottom: 36px;
  display: grid;
  min-width: 230px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ba-before ul {
  color: #6a625b;
}

.ba-after ul {
  color: #4f4740;
}

.ba-panel li {
  margin: 12px 0;
}

.ba-panel li::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 9px;
  content: "";
  background: var(--warm);
  border-radius: 50%;
  vertical-align: 0.1em;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba);
  width: 2px;
  padding: 0;
  background: rgba(21, 17, 13, 0.2);
  border: 0;
  transform: translateX(-50%);
}

.ba-handle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  content: "\2194";
  color: var(--dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(21, 17, 13, 0.17);
  transform: translate(-50%, -50%);
}

.style-layout,
.configurator,
.lead-layout,
.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.style-copy p,
.config-copy p {
  color: var(--ink-soft);
}

.style-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.style-tabs button {
  min-height: 42px;
  padding: 0 15px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.style-tabs button.is-active {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.style-tabs[data-current-style="premium"] button.is-active {
  background: #2b2018;
  border-color: #c6a06f;
}

.style-tabs[data-current-style="soft"] button.is-active {
  color: #6f4d4e;
  background: #f0d9d8;
  border-color: #d6a1a8;
}

.style-tabs[data-current-style="bright"] button.is-active {
  color: #111;
  background: #ffd36f;
  border-color: #f0a54a;
}

.style-preview {
  --style-bg: #f6f1ec;
  --style-panel: #ffffff;
  --style-ink: #15110d;
  --style-accent: #b08a6a;
  --style-muted: #e5d8c8;
  padding: 28px;
  overflow: hidden;
  transition: background 240ms ease, border-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.style-site-mockup {
  min-height: 330px;
  margin-bottom: 24px;
  overflow: hidden;
  color: var(--style-ink);
  background: var(--style-bg);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  transition: background 240ms ease, color 240ms ease;
}

.style-browser-bar {
  display: flex;
  gap: 5px;
  padding: 16px 18px 0;
}

.style-browser-bar i {
  width: 8px;
  height: 8px;
  background: var(--style-accent);
  border-radius: 50%;
  opacity: 0.7;
}

.style-site-nav {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  padding: 0 20px 16px;
}

.style-site-nav span {
  width: 42px;
  height: 6px;
  background: var(--style-muted);
  border-radius: 999px;
}

.style-site-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 0.68fr;
  gap: 12px;
  align-items: stretch;
  min-height: 178px;
  margin: 0 18px;
  padding: 22px;
  overflow: hidden;
  background: var(--style-panel);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 16px;
}

.style-site-hero::after {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 90px;
  height: 90px;
  content: "";
  background: var(--style-accent);
  border-radius: 50%;
  opacity: 0.22;
}

.style-site-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--style-accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.style-site-hero strong {
  position: relative;
  z-index: 1;
  max-width: 340px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.05;
}

.style-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
}

.style-site-hero button {
  position: relative;
  z-index: 1;
  width: max-content;
  min-height: 34px;
  padding: 0 14px;
  color: #fff;
  background: var(--style-ink);
  border: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.style-visual {
  position: relative;
  z-index: 1;
  min-height: 132px;
}

.style-visual i {
  position: absolute;
  display: block;
  background: var(--style-accent);
  border-radius: 18px;
  opacity: 0.82;
}

.style-visual i:nth-child(1) {
  inset: 12px 12px 28px 24px;
}

.style-visual i:nth-child(2) {
  right: 4px;
  bottom: 12px;
  width: 72px;
  height: 54px;
  background: var(--style-muted);
}

.style-visual i:nth-child(3) {
  left: 0;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.style-site-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 18px 18px;
}

.style-site-cards i {
  position: relative;
  display: block;
  min-height: 58px;
  background: var(--style-panel);
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 12px;
}

.style-site-cards i span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  height: 7px;
  background: var(--style-muted);
  border-radius: 999px;
}

.style-minimal {
  --style-bg: #f7f7f5;
  --style-panel: #ffffff;
  --style-ink: #111111;
  --style-accent: #9f927f;
  --style-muted: #d9d8d4;
  background: #fff;
}

.style-minimal .style-site-hero::after {
  display: none;
}

.style-minimal .style-visual i {
  background: transparent;
  border: 1px solid #d9d8d4;
  opacity: 1;
}

.style-minimal .style-visual i:nth-child(2) {
  background: #111;
  border: 0;
}

.style-premium {
  --style-bg: #15110d;
  --style-panel: #241d17;
  --style-ink: #f8f1e9;
  --style-accent: #c6a06f;
  --style-muted: rgba(239, 227, 213, 0.28);
  color: #f8f1e9;
  background:
    radial-gradient(circle at 82% 18%, rgba(198, 160, 111, 0.16), transparent 26%),
    linear-gradient(145deg, #1a1511, #3b2b21);
}

.style-premium .style-site-hero {
  background: linear-gradient(135deg, #2b2018, #15110d);
  border-color: rgba(198, 160, 111, 0.24);
}

.style-premium .style-site-hero button {
  color: #15110d;
  background: #c6a06f;
}

.style-premium .style-visual i:nth-child(1) {
  border-radius: 50% 50% 18px 18px;
}

.style-soft {
  --style-bg: #fff7f4;
  --style-panel: #ffffff;
  --style-ink: #6f4d4e;
  --style-accent: #d6a1a8;
  --style-muted: #f0d9d8;
  background:
    radial-gradient(circle at 86% 16%, rgba(214, 161, 168, 0.18), transparent 24%),
    #fff;
}

.style-soft .style-site-hero,
.style-soft .style-site-cards i {
  border-radius: 28px;
}

.style-soft .style-visual i {
  border-radius: 999px 999px 32px 32px;
}

.style-soft .style-site-hero button {
  color: #6f4d4e;
  background: #f0d9d8;
}

.style-bright {
  --style-bg: #15110d;
  --style-panel: #ffffff;
  --style-ink: #ffffff;
  --style-accent: #f0a54a;
  --style-muted: #ffd36f;
  color: #15110d;
  background: linear-gradient(145deg, #fff, #fff3cf);
  border-color: rgba(240, 165, 74, 0.34);
}

.style-bright .style-site-mockup {
  border-color: rgba(240, 165, 74, 0.38);
}

.style-bright .style-site-hero {
  background: #111;
  border-color: rgba(255, 211, 111, 0.36);
}

.style-bright .style-site-hero button {
  color: #111;
  background: #ffd36f;
}

.style-bright .style-site-hero::after {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  opacity: 0.38;
  transform: rotate(12deg);
}

.palette {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.palette i {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 50%;
}

.founders {
  background: #ffffff;
}

.founders-panel {
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.founders-story {
  display: grid;
  grid-template-columns: 0.82fr 1.28fr 1fr;
  gap: 18px;
}

.studio-logo-profile,
.founders-roles-card,
.story-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 26px;
}

.studio-logo-profile {
  align-items: center;
  justify-content: center;
  min-height: 430px;
  padding: 18px;
  color: #f8f1e9;
  background:
    radial-gradient(circle at 56% 34%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(145deg, #181512, #040404);
}

.studio-logo-image {
  display: block;
  width: min(330px, 100%);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.founders-roles-card {
  gap: 18px;
  justify-content: flex-start;
}

.role-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(232, 226, 218, 0.82);
  border-radius: 22px;
}

.role-row + .role-row {
  padding-top: 18px;
}

.role-row h3 {
  margin: 0;
  font-size: 1.72rem;
}

.story-card {
  justify-content: flex-start;
  background:
    radial-gradient(circle at 82% 18%, rgba(176, 138, 106, 0.1), transparent 28%),
    rgba(255, 255, 255, 0.76);
}

.role-title {
  margin: 2px 0 8px;
  color: var(--warm-dark) !important;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skills-label {
  margin: 18px 0 10px;
  color: var(--warm-dark) !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.role-tags li {
  padding: 7px 10px;
  color: var(--ink-soft);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
}

.process {
  background: var(--section-cream);
}

.roadmap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding-top: 46px;
}

.road-line,
.road-progress {
  position: absolute;
  top: 18px;
  left: 0;
  height: 2px;
  border-radius: 999px;
}

.road-line {
  right: 0;
  background: var(--line);
}

.road-progress {
  width: 0;
  background: var(--warm);
  transition: width 1000ms ease;
}

.roadmap.is-visible .road-progress {
  width: 100%;
}

.roadmap article {
  position: relative;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.roadmap article::before {
  position: absolute;
  top: -37px;
  left: 20px;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--warm);
  border: 5px solid var(--paper);
  border-radius: 50%;
}

.roadmap article span {
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 900;
}

.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.config-options label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.config-options input {
  accent-color: var(--warm);
}

.config-result {
  padding: 34px;
  background:
    radial-gradient(circle at 86% 20%, rgba(176, 138, 106, 0.14), transparent 26%),
    #fff;
}

.config-result > span,
.package-badge {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  color: var(--warm-dark);
  background: var(--warm-soft);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.config-result h3 {
  margin-top: 18px;
  font-size: 2.6rem;
}

.config-price {
  margin: 16px 0 0;
  color: var(--dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.2rem;
}

.config-time {
  margin: 0;
  color: var(--warm-dark);
  font-weight: 900;
}

.config-result small {
  display: block;
  margin-top: 22px;
  color: var(--muted);
}

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

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 30px;
}

.package-popular {
  background:
    radial-gradient(circle at 86% 16%, rgba(176, 138, 106, 0.12), transparent 26%),
    #ffffff;
  border-color: rgba(176, 138, 106, 0.42);
  transform: translateY(-10px);
}

.package-price {
  margin: 16px 0 12px;
  color: var(--dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.1rem;
}

.package-card ul {
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.package-card li {
  margin: 10px 0;
  color: var(--ink-soft);
}

.package-card li::before {
  content: "\2713 ";
  color: var(--warm);
  font-weight: 900;
}

.package-card .button {
  margin-top: auto;
}

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

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(58, 47, 38, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.portfolio-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background: #27231f;
}

.portfolio-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.08));
}

.portfolio-media span {
  position: relative;
  z-index: 1;
  max-width: 180px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
}

.media-nexora { background: linear-gradient(135deg, #171412, #9a8067); }
.media-vera { background: radial-gradient(circle at 72% 22%, #e8d2bb, transparent 32%), #3a2b24; }
.media-noir { background: radial-gradient(circle at 70% 24%, #b08a6a, transparent 30%), #16110d; }
.media-wedding { background: radial-gradient(circle at 72% 24%, #d7a9ad, transparent 32%), #8a6a62; }
.media-energy { background: radial-gradient(circle at 76% 22%, #f0a54a, transparent 30%), #26351f; }
.media-social { background: radial-gradient(circle at 68% 24%, #c5d4d8, transparent 32%), #6a5d51; }

.portfolio-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.portfolio-card h3 {
  margin: 4px 0 0;
  font-size: 1.55rem;
}

.portfolio-type {
  margin: 0;
  color: var(--warm-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-card small {
  display: block;
  margin-top: 12px;
  line-height: 1.5;
}

.portfolio-card a {
  width: max-content;
  margin-top: auto;
  padding: 9px 13px;
  color: var(--dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.lead-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(176, 138, 106, 0.08), transparent 26%),
    linear-gradient(135deg, #ffffff, #f6f1ea);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 14px;
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: rgba(176, 138, 106, 0.62);
  box-shadow: 0 0 0 4px rgba(176, 138, 106, 0.11);
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: auto 1fr;
  gap: 10px !important;
  align-items: flex-start;
}

.checkbox-line input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--warm);
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--warm-dark);
  font-weight: 800;
}

.form-message.is-error {
  color: #9c4439;
}

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

.review-card span {
  color: var(--warm);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3rem;
  line-height: 0.8;
}

.review-card h3 {
  margin-top: 22px;
  font-size: 1.2rem;
}

.faq-layout {
  grid-template-columns: 0.75fr 1.25fr;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  position: relative;
  width: 100%;
  padding: 22px 58px 22px 22px;
  color: var(--dark);
  text-align: left;
  background: transparent;
  border: 0;
  font-weight: 900;
}

.faq-item button::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  color: var(--warm);
  font-size: 1.3rem;
  transform: translateY(-50%);
}

.faq-item.is-open button::after {
  content: "−";
}

.faq-item div {
  max-height: 0;
  overflow: hidden;
  transition: max-height 260ms ease;
}

.faq-item p {
  padding: 0 22px 22px;
  margin: 0;
  color: var(--ink-soft);
}

.final-panel {
  position: relative;
  padding: 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(176, 138, 106, 0.13), transparent 28%),
    linear-gradient(135deg, #ffffff, #f6f1ea);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.final-panel p {
  max-width: 560px;
  color: var(--ink-soft);
}

.sparkle {
  position: absolute;
  right: 54px;
  top: 42px;
  color: var(--warm);
  font-size: 2rem;
}

.site-footer {
  padding: 58px 0 26px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.85fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-brand {
  gap: 18px;
}

.footer-inner p,
.footer-bottom small {
  margin: 0;
  color: var(--ink-soft);
}

.footer-column h3 {
  margin: 0 0 8px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contacts,
.footer-services {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-nav a,
.footer-contacts a,
.footer-services a {
  color: var(--ink-soft);
}

.footer-nav a:hover,
.footer-contacts a:hover,
.footer-services a:hover {
  color: var(--warm-dark);
}

.footer-button {
  width: max-content;
  min-height: 42px;
  padding: 10px 15px;
  color: #fff !important;
  background: var(--dark);
  border-radius: var(--radius);
  font-weight: 900;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.brand-footer .brand-logo-photo {
  width: 94px;
  height: 94px;
  border-radius: 14px;
}

.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.hero .reveal-item {
  opacity: 1;
  transform: none;
}

.reveal-item.is-visible,
.section-observed.is-visible > .container > .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

@keyframes tabletFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes cueDown {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(-3px) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(2px) rotate(45deg);
  }
}

@keyframes orbitFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -16px, 0) scale(1.04);
  }
}

@keyframes enterLeft {
  from {
    opacity: 0;
    transform: translateX(-90px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes enterRight {
  from {
    opacity: 0;
    transform: translateX(90px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes idleFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -8px;
  }
}

@keyframes capeSway {
  0%,
  100% {
    transform: rotate(-7deg) skewX(0deg);
  }

  50% {
    transform: rotate(-7deg) skewX(-3deg);
  }
}

@keyframes capeSwayReverse {
  0%,
  100% {
    transform: rotate(7deg) skewX(0deg);
  }

  50% {
    transform: rotate(7deg) skewX(3deg);
  }
}

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

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 84px 1fr auto;
    gap: 18px;
  }

  .main-nav {
    gap: 20px;
    font-size: 0.86rem;
  }

  .hero-layout {
    grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1fr);
    gap: 24px;
  }

  .tablet {
    right: 0;
    width: min(520px, 100%);
  }

  .tablet-screen {
    --tablet-screen-height: clamp(324px, 35vw, 395px);
  }

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

  .founders-story {
    grid-template-columns: 1fr 1fr;
  }

  .story-card {
    grid-column: 1 / -1;
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    right: 22px;
    left: 22px;
    z-index: 60;
    display: grid;
    gap: 0;
    padding: 12px;
    visibility: hidden;
    background: rgba(255, 253, 249, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }

  .nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 16px;
    font-size: 1.08rem;
  }

  .main-nav a::after {
    display: none;
  }

  .hero,
  .hero-layout {
    min-height: 0;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

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

  .tablet {
    left: 50%;
    right: auto;
    width: min(650px, calc(100vw - 44px));
    transform: translate3d(-50%, -50%, 0) rotateZ(-0.6deg);
  }

  .tablet-screen {
    --tablet-screen-height: 390px;
  }

  .tablet-slide {
    padding: 24px;
  }

  .style-layout,
  .configurator,
  .lead-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .roadmap {
    grid-template-columns: 1fr;
    padding-top: 0;
  }

  .road-line,
  .road-progress {
    top: 0;
    bottom: 0;
    left: 18px;
    width: 2px;
    height: auto;
  }

  .roadmap.is-visible .road-progress {
    width: 2px;
    height: 100%;
  }

  .roadmap article {
    margin-left: 42px;
  }

  .roadmap article::before {
    top: 24px;
    left: -32px;
  }

  .package-grid,
  .portfolio-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .package-popular {
    transform: none;
  }

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

  .footer-nav,
  .footer-contacts,
  .footer-services {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(1180px, calc(100% - 28px));
  }

  .section {
    padding: 54px 0;
  }

  .brand-logo-photo {
    width: 54px;
    height: 54px;
  }

  .section-top {
    display: grid;
    gap: 16px;
  }

  h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: clamp(2.05rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    font-size: 0.94rem;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
  }

  .hero-actions,
  .style-tabs {
    flex-direction: column;
  }

  .button,
  .style-tabs button {
    width: 100%;
  }

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

  .hero-visual {
    min-height: auto;
    margin-top: 24px;
    perspective: none;
  }

  .hero-visual .device {
    position: relative;
  }

  .tablet {
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    animation: none;
    transform: none;
  }

  .device-shell {
    padding: 10px;
    border-radius: 28px;
  }

  .tablet-screen {
    --tablet-screen-height: min(520px, 112vw);
    height: var(--tablet-screen-height);
    max-height: 520px;
    border-radius: 20px;
  }

  .tablet-slide {
    padding: 18px;
  }

  .scroll-cue {
    right: 14px;
    top: -16px;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .founder-card {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
  }

  .founder-photo {
    aspect-ratio: 1 / 1.08;
    background-size: 220% auto;
  }

  .founder-info {
    padding: 0;
  }

  .founder-info h3 {
    font-size: 1.3rem;
  }

  .founder-info p,
  .client-value-list p {
    font-size: 0.78rem;
  }

  .tablet-story {
    padding: 20px;
  }

  .tablet-story h3,
  .tablet-cta-card h3 {
    font-size: 1.8rem;
  }

  .idea-road {
    grid-template-columns: 1fr;
  }

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

  .mini-service-grid span {
    min-height: 72px;
  }

  .client-value-list {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .client-value-list article {
    min-height: 92px;
  }

  .tablet-controls {
    right: auto;
    bottom: 12px;
    left: 50%;
  }

  .feature-grid,
  .service-grid,
  .founders-story {
    grid-template-columns: 1fr;
  }

  .ba-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .ba-panel ul {
    display: none;
  }

  .ba-before .mini-site,
  .ba-after .mini-site,
  .ba-before ul,
  .ba-after ul {
    grid-column: auto;
    grid-row: auto;
  }

  .before-after {
    min-height: 390px;
  }

  .mini-site {
    width: 100%;
    min-height: 300px;
    padding: 14px;
  }

  .mini-site-before,
  .mini-site-after {
    width: 100%;
  }

  .bad-hero,
  .good-hero {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .good-hero h3 {
    font-size: 1.55rem;
  }

  .bad-hero h3 {
    font-size: 0.95rem;
  }

  .bad-image,
  .good-visual,
  .good-benefits {
    display: none;
  }

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

  .style-visual {
    min-height: 86px;
  }

  .final-panel {
    padding: 32px;
  }

  .footer-bottom {
    display: grid;
  }

  .sparkle {
    right: 26px;
    top: 24px;
  }
}
