:root {
  --bg: #f1eded;
  --surface: #ffffff;
  --text: #242424;
  --muted: #6b6b6b;
  --accent: #e40062;
  --accent-soft: #ffe8f2;
  --border: #f0dce6;
  --shadow: 0 20px 40px rgba(36, 36, 36, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.top-info {
  background: #f7f1f6;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  position: sticky;
  top: 0;
  box-shadow: 0 6px 18px rgba(36, 36, 36, 0.05);
}

.top-info .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.top-info a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 12px;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  background: linear-gradient(180deg, #fff 0%, #fff 60%, #fff 60%);
  color: var(--text);
  padding: 24px 24px 72px;
}

.topbar {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 20px;
}

.brand {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo {
  height: 56px;
  display: block;
  background: var(--surface);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(36,36,36,0.06);
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--accent);
}

.nav-links a {
  color: var(--accent);
  font-weight: 600;
}

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

.hero-content {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  padding-top: 24px;
}

.hero-content.single-column {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.hero-content.single-column .hero-copy {
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.05rem;
  color: rgba(36, 36, 36, 0.85);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border);
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 22px 40px rgba(36, 36, 36, 0.16);
  transition: transform 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
  opacity: 0.95;
  z-index: 20;
}

.scroll-top:hover {
  transform: translateY(-2px);
  opacity: 1;
  box-shadow: 0 26px 48px rgba(36, 36, 36, 0.22);
}

@media (max-width: 768px) {
  .scroll-top {
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
  }
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 420px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  max-width: 260px;
  max-height: 260px;
  object-fit: contain;
  display: block;
  padding: 28px 24px 0;
}

.hero-card-content {
  padding: 20px 24px 28px;
  text-align: center;
}

.hero-card-content h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.stats {
  max-width: 1180px;
  margin: -32px auto 0;
  padding: 24px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.stats div {
  text-align: center;
  padding: 8px;
}

.stats strong {
  display: block;
  font-size: 1.6rem;
  color: var(--accent);
}

.stats span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  max-width: 1180px;
  margin: 90px auto 0;
  padding: 0 24px;
}

.section-heading {
  margin-bottom: 32px;
}

.back-link {
  margin-bottom: 18px;
}

.back-link a {
  display: inline-block;
  padding: 8px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0;
}

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

.about-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-photo {
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-copy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 28px;
}

.about-copy p {
  margin: 0 0 18px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
}

.about-list li {
  padding-left: 1.2rem;
  position: relative;
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}

.quote-card,
.card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.price-actions {
  margin-bottom: 28px;
  display: grid;
  gap: 16px;
  width: 100%;
}

.price-search {
  width: 100%;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(196, 99, 147, 0.18);
  background: rgba(255, 255, 255, 0.97);
  color: var(--text);
  font-size: 1rem;
  box-shadow: inset 0 6px 18px rgba(36, 36, 36, 0.06);
}

.price-search::placeholder {
  color: var(--muted);
}

.price-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.price-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.price-group {
  display: grid;
  gap: 20px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(228, 0, 98, 0.12);
  box-shadow: 0 18px 45px rgba(36, 36, 36, 0.05);
}

.group-heading {
  padding: 0 0 12px;
}

.group-heading h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.3rem;
}

.group-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.price-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  min-height: 180px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(224, 223, 226, 0.92);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(36, 36, 36, 0.12);
  border-color: rgba(228, 0, 98, 0.18);
}

.price-card h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1.05rem;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-card strong {
  font-size: 1.35rem;
  color: var(--text);
}

.price-card .small {
  margin: 0;
  color: rgba(36, 36, 36, 0.72);
  font-size: 0.95rem;
}

.price-empty {
  grid-column: 1 / -1;
  margin-top: 16px;
  color: var(--muted);
  text-align: center;
}

.hidden {
  display: none;
}

@media (max-width: 860px) {
  .price-actions {
    justify-content: stretch;
  }

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

.quote-card p {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.compact .card {
  min-height: 220px;
}

.reviews-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-card strong {
  display: block;
  margin-top: 16px;
  color: var(--accent);
}

.reviews-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.review-track-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  width: min(100%, 864px);
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.review-track {
  display: flex;
  gap: 24px;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.review-track .review-card {
  flex: 0 0 auto;
  width: min(420px, 100%);
  scroll-snap-align: start;
}

@media (max-width: 900px) {
  .review-track .review-card {
    width: 100%;
  }
}

.carousel-button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.carousel-button:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.carousel-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 940px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  color: var(--muted);
  margin-top: 12px;
}

.footer {
  max-width: 1180px;
  margin: 90px auto 0;
  padding: 40px 24px 60px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

.footer h2 {
  margin-top: 0;
}

@media (max-width: 900px) {
  .hero-content,
  .about-grid,
  .card-grid,
  .stats,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 0;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav-links {
    gap: 12px 16px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 20px 16px 48px;
  }

  .section,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}

/* Mobile: make top-info stack into two lines for narrow screens (phones) */
@media (max-width: 420px) {
  .top-info .container {
    flex-direction: column;
    gap: 6px;
    padding: 8px 12px;
  }

  .top-info .container > div {
    text-align: center;
    white-space: normal;
  }

  .top-info a {
    margin-left: 0;
  }
}
