:root {
  --bg: #0d0f16;
  --bg-soft: #131722;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --card: #f4f1ee;
  --text: #f5f7fb;
  --text-dark: #171922;
  --muted: #b8bfd0;
  --muted-dark: #5d6473;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(17, 24, 39, 0.08);
  --accent: #d55cff;
  --accent-2: #8b5cf6;
  --accent-soft: rgba(213, 92, 255, 0.16);
  --white: #f8f5f2;
  --shadow-lg: 0 30px 80px rgba(7, 10, 18, 0.28);
  --shadow-md: 0 18px 50px rgba(7, 10, 18, 0.16);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1240px;
  --header-h: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.18), transparent 32%),
    radial-gradient(circle at 80% 10%, rgba(213, 92, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #090b11 0%, #0d0f16 100%);
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section-light {
  background: #efebe7;
  color: var(--text-dark);
}

.section-dark {
  background: linear-gradient(180deg, #0e1220 0%, #101523 100%);
}

.section-accent {
  background: linear-gradient(180deg, rgba(18, 23, 35, 1) 0%, rgba(27, 22, 42, 1) 100%);
}

.section-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(213, 92, 255, 0.18);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.9rem);
  letter-spacing: -0.05em;
  max-width: 920px;
}

h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  max-width: 820px;
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 18px;
  line-height: 1.8;
  font-size: 1rem;
}

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

.section-dark p,
.section-accent p,
.contact-section p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.3s ease;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(213, 92, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(213, 92, 255, 0.32);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  transition: 0.3s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(9, 11, 17, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}

.footer-logo {
  display: block;
  width: auto;
  height: 42px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: 0.3s ease;
}

.menu-toggle span:first-child {
  top: 20px;
}

.menu-toggle span:last-child {
  bottom: 20px;
}

.menu-toggle.active span:first-child {
  transform: rotate(45deg);
  top: 25px;
}

.menu-toggle.active span:last-child {
  transform: rotate(-45deg);
  bottom: 25px;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 20px);
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: saturate(1.03) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 10, 16, 0.88) 0%, rgba(8, 10, 16, 0.60) 44%, rgba(8, 10, 16, 0.30) 100%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.22) 0%, rgba(8, 10, 16, 0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 720px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.stat-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  font-size: 0.96rem;
}

.grid-2,
.premium-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  align-items: center;
}

.about-grid {
  align-items: start;
}

.feature-list {
  margin-top: 34px;
  display: grid;
  gap: 20px;
}

.feature-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px;
  background: rgba(248, 245, 242, 0.92);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-dark);
}

.feature-item span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(213, 92, 255, 0.12), rgba(139, 92, 246, 0.12));
  color: var(--accent-2);
  font-weight: 800;
}

.feature-item h3 {
  color: var(--text-dark);
}

.image-stack {
  position: relative;
}

.image-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-card.large {
  min-height: 720px;
}

.floating-badge {
  position: absolute;
  left: -20px;
  bottom: 28px;
  background: rgba(15, 17, 26, 0.86);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}

.floating-badge span {
  font-weight: 700;
  font-size: 0.94rem;
}

.section-head {
  margin-bottom: 48px;
}

.section-head p {
  max-width: 760px;
}

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

.service-card {
  position: relative;
  padding: 28px;
  min-height: 270px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213, 92, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(213, 92, 255, 0.28);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin: 0;
}

.premium-visual img {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.premium-points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.premium-point {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(248, 245, 242, 0.92);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-md);
}

.premium-point strong {
  display: block;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.premium-point span {
  color: var(--muted-dark);
  line-height: 1.7;
}

.timeline {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 26px;
  width: 2px;
  background: linear-gradient(180deg, rgba(213, 92, 255, 0.6), rgba(139, 92, 246, 0.14));
}

.timeline-item {
  position: relative;
  padding-left: 82px;
  margin-bottom: 34px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 6px solid rgba(17, 20, 30, 1);
  box-shadow: 0 0 0 8px rgba(213, 92, 255, 0.12);
}

.timeline-content {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, 300px);
  gap: 18px;
}

.gallery-item,
.gallery-large {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.04);
}

.gallery-large {
  grid-row: 1 / span 2;
}

.gallery-item img,
.gallery-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img,
.gallery-large:hover img {
  transform: scale(1.05);
}

.contact-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(213, 92, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #0c0f17 0%, #10131d 100%);
}

.contact-grid {
  align-items: start;
}

.contact-cards {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.contact-card h3 {
  margin-bottom: 12px;
}

.contact-card p {
  margin-bottom: 8px;
}

.contact-card a {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 600;
}

.contact-form-wrap {
  position: relative;
}

.contact-form {
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.form-head {
  margin-bottom: 24px;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

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

.form-field label {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  outline: none;
  transition: 0.25s ease;
  appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: rgba(213, 92, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(213, 92, 255, 0.12);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
  accent-color: #d55cff;
}

.form-consent label {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.form-consent a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-consent a:hover {
  color: #d55cff;
}

.form-note {
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 28px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #090b11;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.56);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(213, 92, 255, 0.08), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 0;
  filter: blur(12px);
  opacity: 0.8;
}

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

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

@media (max-width: 1100px) {
  .hero-stats,
  .services-grid,
  .gallery-grid,
  .grid-2,
  .premium-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: none;
  }

  .gallery-large {
    grid-row: auto;
  }

  .image-card.large {
    min-height: 520px;
  }

  .timeline {
    max-width: none;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(10, 12, 18, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle {
    display: inline-flex;
  }

  h1 {
    font-size: clamp(2.6rem, 11vw, 4.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .hero-stats {
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 82px 0;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

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

  .btn {
    width: 100%;
  }

  .stat-card,
  .service-card,
  .contact-form,
  .feature-item,
  .timeline-content,
  .contact-card,
  .premium-point {
    border-radius: 20px;
  }

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

  .floating-badge {
    position: static;
    margin-top: 16px;
  }

  .timeline::before {
    left: 18px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .timeline-dot {
    left: 4px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo,
  .footer-logo {
    height: 38px;
  }
}
