:root {
  --bg: #f1f5fb;
  --surface: #ffffff;
  --text: #241c3b;
  --muted: #675f82;
  --primary: #7a24d8;
  --primary-dark: #5e18ab;
  --border: #ddd0ef;
  --shadow: 0 10px 30px rgba(93, 33, 167, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, #ffffff 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 90% 0%, #efe4fb 0%, rgba(239, 228, 251, 0) 40%),
    radial-gradient(circle at 0% 60%, #f5ecff 0%, rgba(245, 236, 255, 0) 35%),
    linear-gradient(180deg, #fcf9ff 0%, #f5effd 55%, #f0e8fb 100%);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1320px, 95%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid #d7c4ed;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(23, 32, 51, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.logo {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.2px;
  color: var(--primary);
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 600;
}

.menu a:hover {
  color: var(--primary);
}

.phone {
  font-weight: 700;
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: #f0e5ff;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu a[aria-current="page"] {
  color: var(--primary);
}

.hero {
  padding: 30px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0e5ff;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

h3 {
  margin: 0 0 10px;
}

p {
  margin: 0;
  color: var(--muted);
}

.top-showcase-wrap {
  padding-top: 16px;
}

.top-showcase-row {
  display: grid;
  grid-template-columns: 1.75fr 0.72fr;
  gap: 18px;
  align-items: stretch;
}

.top-showcase {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid #d9c6ef;
  box-shadow: 0 16px 38px rgba(88, 28, 165, 0.2);
}

.top-showcase-slider {
  position: absolute;
  inset: 0;
}

.top-showcase-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 24s infinite;
}

.top-showcase-slider img:nth-child(1) {
  animation-delay: 0s;
}

.top-showcase-slider img:nth-child(2) {
  animation-delay: 6s;
}

.top-showcase-slider img:nth-child(3) {
  animation-delay: 12s;
}

.top-showcase-slider img:nth-child(4) {
  animation-delay: 18s;
}

.top-showcase-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(34, 15, 62, 0.74) 0%,
    rgba(48, 16, 89, 0.46) 45%,
    rgba(56, 19, 102, 0.2) 100%
  );
  color: #fff;
}

.top-showcase-overlay p {
  max-width: 640px;
  color: #e9eefb;
}

.top-showcase-content {
  width: min(760px, 88%);
  margin-left: 6%;
}

.top-showcase-form {
  background: #ffffff;
  align-self: start;
  padding: 18px;
}

.top-showcase-form h2 {
  font-size: 24px;
}

.top-showcase-form p {
  color: #4d5d78;
}

.top-showcase-form .quick-form {
  gap: 10px;
}

.top-showcase-form label {
  font-size: 13px;
}

.top-showcase-form input,
.top-showcase-form select {
  padding: 9px 10px;
}

.top-showcase .badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.top-showcase h1 {
  max-width: 760px;
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-grid-single {
  grid-template-columns: 1fr;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #f0e5ff;
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #e4d0ff;
}

.hero-card,
.card,
.contact-box,
.map-box,
.stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
}

.quick-form,
.contact-form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #bcd0ff;
  border-color: var(--primary);
}

.full {
  width: 100%;
}

.form-message {
  min-height: 20px;
  font-size: 14px;
}

.section {
  padding: 44px 0;
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0.12) 100%
  );
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 48px 0 24px;
}

.page-hero p {
  max-width: 760px;
}

.slider-section {
  padding-top: 24px;
}

.image-slider {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.slider-track {
  display: flex;
  width: max-content;
  animation: slideLeft 30s linear infinite;
}

.slider-track img {
  width: 320px;
  height: 210px;
  object-fit: cover;
  flex-shrink: 0;
  border-right: 1px solid #e6edf9;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.section-head {
  margin-bottom: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 20px;
}

.section-alt {
  background: #f3ebfc;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.features {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.features li + li {
  margin-top: 8px;
}

.stats {
  padding: 20px;
  display: grid;
  gap: 12px;
}

.stats div {
  background: #faf5ff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}

.stats strong {
  display: block;
  font-size: 32px;
  color: var(--primary-dark);
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-box,
.map-box {
  padding: 20px;
}

.contact-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.contact-list a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 600;
}

.map-frame {
  margin-top: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f3ebfb;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 0;
}

.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--primary-dark);
  font-weight: 600;
}

@media (max-width: 930px) {
  .hero-grid,
  .cards,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid var(--border);
    padding: 8px 0;
    gap: 0;
    backdrop-filter: blur(8px);
    z-index: 10;
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 13px 20px;
    border-bottom: 1px solid #f0e5ff;
    font-size: 15px;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .logo {
    font-size: 20px;
  }

  .slider-track img {
    width: 240px;
    height: 170px;
  }

  .top-showcase,
  .top-showcase-overlay {
    min-height: 38vh;
  }

  .top-showcase {
    border-radius: 16px;
  }

  .top-showcase-row {
    grid-template-columns: 1fr;
    width: 92%;
    margin: 0 auto;
  }

  .top-showcase-content {
    width: 92%;
    margin: 0 auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
