:root {
  --bg: #202020;
  --bg-soft: #292929;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --text: #f6f2ef;
  --muted: rgba(246, 242, 239, 0.78);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #ff5a5f;
  --accent-dark: #ff464c;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 90, 95, 0.72), transparent 22%),
    radial-gradient(circle at 92% 95%, rgba(255, 90, 95, 0.82), transparent 18%),
    linear-gradient(120deg, #1d1d1d 0%, #202020 44%, #38282a 100%);
  background-color: #202020;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 90, 95, 0.72), transparent 22%),
    radial-gradient(circle at 92% 95%, rgba(255, 90, 95, 0.82), transparent 18%),
    linear-gradient(120deg, #1d1d1d 0%, #202020 44%, #38282a 100%);
  background-color: #202020;
  overscroll-behavior-y: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(135deg, transparent 0%, transparent 48.5%, rgba(255, 255, 255, 0.03) 49%, transparent 49.5%, transparent 100%);
}

.page {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero,
.card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.88) 0%, rgba(15, 15, 15, 0.72) 42%, rgba(15, 15, 15, 0.48) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 95, 0.36), rgba(255, 90, 95, 0));
  filter: blur(24px);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  transform: skewX(-10deg);
  transform-origin: left center;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(44px, 8vw, 82px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  transform: skewX(-13deg);
  transform-origin: left center;
}

.lead {
  width: min(540px, 100%);
  margin: 24px 0 0;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.primary {
  background: var(--accent);
  color: #fff7f1;
}

.primary:hover {
  background: var(--accent-dark);
}

.button-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.card {
  padding: 28px;
  border-radius: 24px;
  background: var(--surface);
  margin-top: 18px;
}

.card h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transform: skewX(-8deg);
  transform-origin: left center;
}

.card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 18px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 22px;
}

.contact-links a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-links a:hover {
  text-decoration: underline;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.expertise-item,
.number-card {
  min-height: 88px;
  padding: 18px 18px 18px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.expertise-item {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--muted);
  line-height: 1.5;
}

.expertise-item:hover,
.number-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 90, 95, 0.18);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.expertise-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.number-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.number-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  width: min(420px, calc(100% - 24px));
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(24, 24, 24, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner__button {
  flex: 0 0 auto;
  min-width: 74px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff7f1;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cookie-banner__button:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.make-beautiful-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 4px 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(246, 242, 239, 0.48);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.make-beautiful-trigger::before {
  content: "✦";
  font-size: 10px;
  color: rgba(255, 90, 95, 0.75);
}

.make-beautiful-trigger:hover {
  color: rgba(246, 242, 239, 0.84);
  transform: translateY(-1px);
}

.beauty-overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.beauty-overlay__grid,
.beauty-overlay__scan {
  position: absolute;
  inset: 0;
}

.beauty-overlay__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 90, 95, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 95, 0.16) 1px, transparent 1px);
  background-size: 72px 72px, 72px 72px, 18px 18px, 18px 18px;
  background-position: center center;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4));
}

.beauty-overlay__scan {
  top: -20%;
  height: 24%;
  background: linear-gradient(180deg, rgba(255, 90, 95, 0), rgba(255, 90, 95, 0.14), rgba(255, 90, 95, 0));
  opacity: 0;
}

.beauty-overlay__frame {
  position: absolute;
  border: 1px dashed rgba(255, 90, 95, 0.72);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0;
}

.beauty-overlay__frame--hero {
  left: 50%;
  top: 32px;
  width: min(1160px, calc(100vw - 32px));
  height: 328px;
  transform: translateX(-50%);
}

.beauty-overlay__frame--contact,
.beauty-overlay__frame--expertise,
.beauty-overlay__frame--numbers {
  left: 50%;
  width: min(1160px, calc(100vw - 32px));
  transform: translateX(-50%);
}

.beauty-overlay__frame--contact {
  top: 378px;
  height: 174px;
}

.beauty-overlay__frame--expertise {
  top: 570px;
  height: 216px;
}

.beauty-overlay__frame--numbers {
  top: 804px;
  height: 220px;
}

.beauty-overlay__note {
  position: absolute;
  color: rgba(255, 90, 95, 0.94);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  opacity: 0;
}

.beauty-overlay__note::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.beauty-overlay__note--one { top: 86px; left: 11%; }
.beauty-overlay__note--two { top: 310px; right: 14%; }
.beauty-overlay__note--three { top: 430px; right: 12%; }
.beauty-overlay__note--four { top: 610px; left: 10%; }
.beauty-overlay__note--five { top: 748px; right: 16%; }
.beauty-overlay__note--six { top: 910px; left: 13%; }

.beauty-toast {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 22;
  width: min(460px, calc(100% - 24px));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.beauty-toast[hidden] {
  display: none;
}

.beauty-toast__text,
.beauty-toast__button {
  font: inherit;
}

.beauty-toast {
  padding: 18px;
  border: 1px solid rgba(255, 90, 95, 0.18);
  border-radius: 18px;
  background: rgba(20, 20, 20, 0.94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.beauty-toast__text {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

.beauty-toast__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.beauty-toast__button:hover {
  border-color: rgba(255, 90, 95, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.beauty-toast-visible .beauty-toast {
  opacity: 1;
  transform: translateY(0);
}

.easter-variant.make-it-beautiful .beauty-overlay {
  opacity: 1;
}

.easter-variant.make-it-beautiful .beauty-overlay__frame,
.easter-variant.make-it-beautiful .beauty-overlay__note {
  opacity: 1;
}

.easter-variant.make-it-beautiful .beauty-overlay__scan {
  opacity: 1;
  animation: beautyScan 1.3s ease-in-out forwards;
}

.easter-variant.make-it-beautiful [data-beauty-target="hero"] {
  transform: translate3d(3px, -2px, 0) rotate(-0.35deg);
}

.easter-variant.make-it-beautiful [data-beauty-target="hero-copy"] {
  transform: translate3d(4px, 2px, 0);
}

.easter-variant.make-it-beautiful [data-beauty-target="actions"] {
  transform: translate3d(-3px, 2px, 0);
}

.easter-variant.make-it-beautiful [data-beauty-target="button"] {
  transform: translate3d(2px, -1px, 0);
}

.easter-variant.make-it-beautiful [data-beauty-target="card"] {
  transform: translate3d(-4px, 3px, 0) rotate(0.35deg);
}

.easter-variant.make-it-beautiful [data-beauty-target="mini-card"] {
  transform: translate3d(3px, -2px, 0) rotate(-0.55deg);
}

.easter-variant.make-it-beautiful [data-beauty-target] {
  transition: transform 0.45s ease-in-out, filter 0.45s ease-in-out, box-shadow 0.45s ease-in-out;
  filter: saturate(1.04);
}

.easter-variant.make-it-beautiful--settling [data-beauty-target] {
  transform: translate3d(0, 0, 0) rotate(0deg);
}

.easter-variant.make-it-beautiful--settling .beauty-overlay {
  opacity: 0;
  transition-duration: 0.45s;
}

@keyframes beautyScan {
  0% {
    transform: translateY(-30%);
  }

  100% {
    transform: translateY(420%);
  }
}

@media (max-width: 1024px) {
  .page {
    width: min(100% - 28px, 100%);
    padding: 24px 0 40px;
  }

  .hero {
    padding: 44px 28px 30px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .card {
    padding: 24px;
  }

  .card h2 {
    font-size: clamp(26px, 3.2vw, 36px);
  }

  .beauty-overlay__frame--hero,
  .beauty-overlay__frame--contact,
  .beauty-overlay__frame--expertise,
  .beauty-overlay__frame--numbers {
    width: min(100vw - 28px, 1160px);
  }
}

@media (max-width: 920px) {
  .hero {
    padding: 38px 24px 24px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 15, 15, 0.82) 0%, rgba(15, 15, 15, 0.62) 44%, rgba(15, 15, 15, 0.62) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  }

  .hero::after {
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -110px;
  }

  h1 {
    font-size: clamp(40px, 7vw, 64px);
  }

  .lead {
    width: min(100%, 560px);
    font-size: 18px;
  }

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

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

  .beauty-overlay__frame--hero {
    top: 24px;
    height: 308px;
  }

  .beauty-overlay__frame--contact {
    top: 352px;
    height: 168px;
  }

  .beauty-overlay__frame--expertise {
    top: 538px;
    height: 250px;
  }

  .beauty-overlay__frame--numbers {
    top: 806px;
    height: 260px;
  }
}

@media (max-width: 768px) {
  .page {
    width: min(100% - 22px, 100%);
    padding: 16px 0 32px;
  }

  .hero,
  .card {
    border-radius: 22px;
  }

  .hero {
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding: 30px 20px 20px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 15, 15, 0.48) 0%, rgba(15, 15, 15, 0.72) 38%, rgba(15, 15, 15, 0.9) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  }

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

  .eyebrow,
  .section-label {
    font-size: 12px;
    margin-bottom: 10px;
  }

  h1 {
    font-size: clamp(34px, 9vw, 52px);
    line-height: 0.94;
  }

  .lead {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.45;
  }

  .actions {
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 48px;
    padding: 0 18px;
    font-size: 15px;
  }

  .card {
    padding: 20px;
  }

  .card h2 {
    font-size: clamp(24px, 5vw, 32px);
  }

  .card p,
  .expertise-item,
  .number-card span {
    font-size: 15px;
    line-height: 1.55;
  }

  .contact-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .expertise-item,
  .number-card {
    min-height: 78px;
    padding: 16px 16px 16px 22px;
  }

  .number-card strong {
    font-size: 30px;
  }

  .make-beautiful-trigger {
    margin-top: 14px;
    font-size: 12px;
  }

  .beauty-overlay__frame,
  .beauty-overlay__note,
  .beauty-overlay__scan {
    display: none;
  }

  .beauty-toast {
    right: 12px;
    bottom: 88px;
    width: calc(100% - 24px);
  }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 100%);
    padding-top: 10px;
  }

  .hero,
  .card {
    border-radius: 20px;
  }

  .hero {
    padding: 28px 18px 18px;
    min-height: 390px;
  }

  .card {
    padding: 22px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .expertise-list,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .cookie-banner__button {
    width: 100%;
  }

  .beauty-toast {
    right: 10px;
    bottom: 84px;
    width: calc(100% - 20px);
    padding: 16px;
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  body::before {
    background-image: none;
  }

  .page {
    width: calc(100% - 16px);
    padding: 8px 0 24px;
  }

  .hero,
  .card {
    border-radius: 18px;
  }

  .hero {
    min-height: 360px;
    padding: 24px 16px 16px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(15, 15, 15, 0.42) 0%, rgba(15, 15, 15, 0.74) 42%, rgba(15, 15, 15, 0.94) 100%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  }

  .hero::after {
    width: 220px;
    height: 220px;
    right: -80px;
    bottom: -90px;
  }

  h1 {
    font-size: clamp(30px, 11vw, 42px);
  }

  .lead {
    font-size: 16px;
  }

  .card {
    padding: 18px;
    margin-top: 14px;
  }

  .card h2 {
    font-size: 22px;
  }

  .contact-links a {
    word-break: break-word;
  }

  .expertise-list,
  .numbers-grid {
    gap: 10px;
    margin-top: 14px;
  }

  .expertise-item,
  .number-card {
    min-height: 72px;
    border-radius: 16px;
  }

  .number-card strong {
    font-size: 28px;
  }

  .make-beautiful-trigger {
    margin-right: 0;
  }
}

@media (hover: none) {
  .button:hover,
  .expertise-item:hover,
  .number-card:hover {
    transform: none;
    box-shadow: none;
  }

  .make-beautiful-trigger:hover,
  .beauty-toast__button:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beauty-overlay,
  .beauty-toast,
  .make-beautiful-trigger,
  [data-beauty-target] {
    transition: none !important;
    animation: none !important;
  }
}
