:root {
  --bg: #f7eef4;
  --surface: #ffffff;
  --surface-soft: #f3e4ee;
  --text: #2f1f2a;
  --muted: #6b5461;
  --primary: #8d4f7b;
  --primary-dark: #6c3b5f;
  --secondary: #e7bfd1;
  --accent: #b98eb9;
  --line: #e9d4e0;
  --radius: 20px;
  --shadow: 0 16px 34px rgba(99, 47, 82, 0.16);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  background-image: radial-gradient(circle at 18% 10%, #fbe9f4 0, transparent 42%),
    radial-gradient(circle at 90% 8%, #efe3f7 0, transparent 34%),
    linear-gradient(180deg, #f8eef5 0%, #f9f3f8 50%, #f7eef4 100%);
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 238, 245, 0.92);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 99px;
}

.hero-slider {
  width: 100%;
  height: calc(100vh - var(--header-height));
  min-height: 520px;
  position: relative;
  overflow: hidden;
}

.slider-window {
  width: 100%;
  height: 100%;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.slider-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slider-arrow {
  pointer-events: auto;
  margin: 0 24px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: rgba(60, 35, 52, 0.38);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.hero {
  padding: 54px 0 28px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

.kicker {
  margin: 0 0 8px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
}

.hero-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.slogan {
  margin: 16px 0 22px;
  border-left: 3px solid var(--secondary);
  padding-left: 14px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  padding: 11px 18px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  border: 1px solid var(--line);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary-dark);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--surface-soft);
}

.hero-card {
  background: var(--surface);
  border: 1px solid #ebd0e1;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.section {
  padding: 56px 0;
}

.section-soft {
  background: linear-gradient(180deg, #f4e7ef 0%, #f9f2f7 100%);
}

.section-head {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.card {
  background: var(--surface);
  border: 1px solid #ebd5e3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(103, 53, 90, 0.22);
}

.card-body {
  padding: 16px;
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.card span {
  color: var(--primary-dark);
  font-weight: 700;
}

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

.testimonial {
  background: #fff;
  border: 1px solid #ecd8e4;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 22px rgba(103, 53, 90, 0.08);
}

.testimonial p {
  margin: 0 0 10px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  padding-left: 0;
  list-style: none;
  margin: 0 0 18px;
}

.contact-list li {
  margin-bottom: 6px;
  color: var(--muted);
}

.map-card {
  background: #fff;
  border: 1px solid #ebd5e3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(103, 53, 90, 0.12);
}

.map-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.map-card-body {
  padding: 16px;
}

.map-card-body strong {
  display: block;
  margin-bottom: 4px;
}

.map-card-body p {
  margin: 0 0 12px;
  color: var(--muted);
}

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

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  gap: 12px;
}

@media (max-width: 980px) {
  .hero-slider {
    min-height: 440px;
  }

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

  .hero {
    padding-top: 46px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 8px;
  }

  .brand {
    font-size: 1.15rem;
    min-width: 0;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav {
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  .nav.is-open {
    max-height: 220px;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 4px 0;
    border: 0;
    background: transparent;
  }

  .hero-slider {
    height: calc(90vh - var(--header-height));
    min-height: 360px;
  }

  .slider-arrow {
    width: 42px;
    height: 42px;
    margin: 0 10px;
    font-size: 1.7rem;
  }

  .section {
    padding: 46px 0;
  }

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