:root {
  --bg: #faf5fb;
  --text: #3a2340;
  --primary: #aa0f72;
  --primary-dark: #7b0b54;
  --primary-soft: #f6e2ef;
  --accent: #2da8df;
  --accent-green: #87be3f;
  --accent-gold: #f5b43c;
  --card: #ffffff;
  --muted: #6f4d73;
  --border: #efd4e6;
  --shadow: 0 20px 45px rgba(122, 11, 84, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 16%, rgba(45, 168, 223, 0.11), transparent 32%),
    radial-gradient(circle at 88% 0%, rgba(170, 15, 114, 0.11), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.9;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  padding: 12px 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid #eacde0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.brand-mini {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand-logo-mini {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 4px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
}

.brand-mini-title {
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.2;
}

.brand-mini-sub {
  color: #8b6a90;
  font-size: 0.85rem;
}

.menu-toggle {
  display: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.nav-links a:hover {
  background: #f8ebf4;
}

.nav-links a.active {
  color: #fff;
  background: linear-gradient(135deg, #c91887, #7b0b54);
}

.phone-btn {
  text-decoration: none;
  color: #fff;
  background: linear-gradient(120deg, #95cb4a, #5f9a2a);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(95, 154, 42, 0.35);
}

.hero {
  padding: 36px 0 60px;
  text-align: center;
}

.hero-content {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #efd8e8;
  border-radius: 30px;
  padding: 52px 24px;
  box-shadow: var(--shadow);
}

.hero-logo {
  margin: 0 auto 12px;
  width: min(340px, 82%);
  height: auto;
  object-fit: contain;
  display: block;
}

.hero h1 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.22;
  font-weight: 900;
}

.title-accent {
  display: block;
  width: 110px;
  height: 5px;
  margin: 14px auto 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent-green), var(--accent));
}

.hero-subtitle {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.2rem, 2.3vw, 2rem);
  font-weight: 800;
}

.hero p {
  margin: 12px auto 0;
  max-width: 760px;
  color: #6a4a6f;
  font-size: 1.1rem;
}

.hero-extra {
  margin-top: 8px;
  font-size: 1.02rem;
}

.hero-contacts {
  margin-top: 22px;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #efd3e5;
  background: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7b0b54;
  font-weight: 700;
}

.hero-contacts a {
  text-decoration: none;
  color: inherit;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
}

.showcase {
  padding: 0 0 24px;
}

.slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #ebd6e7;
  box-shadow: var(--shadow);
  background: #fff;
}

.slides {
  position: relative;
  aspect-ratio: 16 / 7;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(123, 11, 84, 0.82);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 2;
}

.slider-btn.prev {
  right: 14px;
}

.slider-btn.next {
  left: 14px;
}

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot-btn {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.dot-btn.active {
  background: var(--accent-gold);
}

.section {
  padding: 24px 0;
}

section[id] {
  scroll-margin-top: 130px;
}

.section.alt {
  background: transparent;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

h2 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.6rem;
  line-height: 1.5;
}

p {
  margin: 0;
}

.section-note {
  margin-top: 10px;
  color: var(--muted);
}

ul {
  margin: 0;
  padding-right: 20px;
}

li + li {
  margin-top: 10px;
}

.checklist {
  list-style: none;
  padding-right: 0;
}

.why-us-wrap {
  background: #f3f5f9;
  border: 1px solid #e6eaf2;
  border-radius: 22px;
  padding: 34px;
}

.why-title {
  text-align: center;
  color: #1f2a3c;
  font-size: clamp(1.9rem, 3vw, 3rem);
  margin: 0;
}

.why-line {
  display: block;
  width: 92px;
  height: 4px;
  margin: 12px auto 20px;
  border-radius: 99px;
  background: #4f6de6;
}

.why-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
  color: #6b7485;
  font-size: 1.05rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.why-card {
  background: #fff;
  border: 1px solid #e5e9f1;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(30, 42, 62, 0.08);
  padding: 18px;
  text-align: center;
}

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #eff3ff;
  color: #4f6de6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.why-card h3 {
  margin: 0 0 8px;
  color: #1f2a3c;
  font-size: 2rem;
  line-height: 1.2;
}

.why-card p {
  margin: 0;
  color: #6d7585;
  line-height: 1.7;
}

.image-placeholder-card {
  display: flex;
  flex-direction: column;
}

.image-placeholder {
  margin-top: 8px;
  min-height: 220px;
  border: 2px dashed #d9aac7;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  background: linear-gradient(135deg, #fff, #fdf5fa);
  font-weight: 700;
}

.why-us-image {
  margin-top: 8px;
  width: 100%;
  min-height: 220px;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #edcfe1;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.gallery-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  display: block;
  min-height: 170px;
  border: 1px solid #edcfe1;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 24px rgba(122, 11, 84, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 9, 18, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 500;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(980px, 95vw);
  max-height: 86vh;
  border-radius: 16px;
  border: 2px solid #f2d4e6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-prev {
  right: 18px;
}

.lightbox-next {
  left: 18px;
}

.contact-item {
  margin: 0 0 8px;
  font-weight: 700;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.closing {
  margin-top: 14px;
  color: var(--muted);
}

footer {
  margin-top: 30px;
  background: #7b0b54;
  color: #f9e7f2;
  text-align: center;
  padding: 20px 0;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .nav-shell {
    flex-wrap: nowrap;
  }

  .brand-mini {
    min-width: auto;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 0;
    padding-top: 0;
  }

  .nav-shell {
    border-radius: 0 0 18px 18px;
    position: relative;
    gap: 8px;
    padding: 10px;
    justify-content: space-between;
  }

  .brand-logo-mini {
    width: 54px;
    height: 54px;
    margin-bottom: 0;
  }

  .brand-mini-title {
    font-size: 1rem;
  }

  .brand-mini-sub {
    font-size: 0.74rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-area {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    background: #fff;
    border: 1px solid #efcfe3;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 120;
  }

  .nav-area.open {
    display: flex;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }

  .nav-links a {
    padding: 9px 12px;
    font-size: 0.92rem;
    text-align: center;
  }

  .phone-btn {
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 24px 0 36px;
  }

  .hero-content {
    border-radius: 20px;
    padding: 34px 16px;
  }

  .hero-logo {
    width: min(250px, 86%);
  }

  .hero-contacts {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 12px;
    padding: 8px 12px;
    gap: 10px;
  }

  .slides {
    aspect-ratio: 4 / 3;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .dot {
    display: block;
  }

  .card {
    padding: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .why-us-wrap {
    padding: 20px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card h3 {
    font-size: 1.65rem;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 145px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-close {
    top: 12px;
    left: 12px;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    right: 12px;
  }

  .lightbox-next {
    left: 12px;
  }
}
