/* ── Reset & Base ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  color: #111827;
  background: #fff;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Utilities ────────────────────────────────────────────── */
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ── HEADER ───────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

nav {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.join-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2563eb;
  border: 1px solid #2563eb;
  border-radius: 9999px;
  background: transparent;
  transition: background 0.15s;
}

.join-btn:hover {
  background: #eff6ff;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(to bottom, rgba(219, 234, 254, 0.6), #fff);
  padding: 1.5rem 0 1rem;
}

@media (min-width: 1024px) {
  .hero {
    padding: 2rem 0 1.5rem;
  }
}

.hero-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile back/star bar */
.hero-mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-mobile-bar {
    display: none;
  }
}

.icon-btn {
  padding: 0.5rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  transition: background 0.15s;
}

.icon-btn:hover {
  background: #f3f4f6;
}

.icon-btn.bg {
  background: #f9fafb;
}

/* Location */
.location-row {
  display: none;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .location-row {
    display: flex;
  }
}

.location-pin {
  color: #6b7280;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.location-city {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.location-addr {
  font-size: 0.875rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Title */
.hero h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 1.5rem;
  }
}

/* Rating */
.rating-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.stars {
  display: flex;
  gap: 0.125rem;
}

.star {
  width: 14px;
  height: 14px;
}

.star.full {
  color: #facc15;
  fill: #facc15;
}

.star.half {
  color: #facc15;
  fill: rgba(250, 204, 21, 0.5);
}

.star.empty {
  color: #d1d5db;
}

.rating-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  border-bottom: 1px dashed #9ca3af;
  cursor: pointer;
  transition: color 0.15s;
}

.rating-link:hover {
  color: #2563eb;
}

/* ── SERVICES SECTION ─────────────────────────────────────── */
.services-section {
  padding: 2rem 0 3rem;
  background: #f9fafb;
}

@media (min-width: 1024px) {
  .services-section {
    padding: 3rem 0;
  }
}

.services-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Banner */
.banner {
  margin-bottom: 2rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

@media (min-width: 640px) {
  .banner img {
    height: 14rem;
  }
}

@media (min-width: 1024px) {
  .banner img {
    height: 16rem;
  }
}

/* Service cards — full width (no sidebar) */
.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Card */
.service-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: box-shadow 0.3s;
}

@media (min-width: 1024px) {
  .service-card {
    padding: 1.5rem;
  }
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-top: 0.25rem;
}

.add-btn {
  flex-shrink: 0;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
  font-size: 0.875rem;
  font-weight: 500;
  transition:
    background 0.2s,
    transform 0.1s;
}

.add-btn:hover {
  background: #eff6ff;
}

.add-btn:active {
  transform: scale(0.97);
}

.add-btn.added {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #16a34a;
}

/* Card body sections */
.card-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

hr.divider {
  border: none;
  border-top: 1px solid #e5e7eb;
}

/* Process list */
.process-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-item {
  display: flex;
  gap: 0.75rem;
}

.step-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #111827;
}

.step-desc {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Issues grid */
.issues-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem 0.5rem;
}

@media (min-width: 640px) {
  .issues-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.issue-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.check-icon {
  color: #22c55e;
  flex-shrink: 0;
}

/* Not included */
.not-included {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.ni-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #9ca3af;
  flex-shrink: 0;
}

/* Mobile cart bar */
.mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid #d1d5db;
  padding: 1rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  display: none;
}

.mobile-cart-bar.visible {
  display: block;
}

.mobile-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
}

.cart-count {
  font-size: 0.875rem;
  color: #6b7280;
}

.cart-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.view-cart-btn {
  padding: 0.75rem 2rem;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  transition: background 0.15s;
}

.view-cart-btn:hover {
  background: #1d4ed8;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  padding: 3rem 0 4rem;
  background: #fff;
}

@media (min-width: 1024px) {
  .faq-section {
    padding: 4rem 0;
  }
}

.faq-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.faq-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #111827;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .faq-title {
    font-size: 1.875rem;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  text-align: left;
  background: #f9fafb;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.faq-btn:hover {
  background: #f3f4f6;
}

.faq-question {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  padding-right: 1rem;
}

.chevron {
  flex-shrink: 0;
  color: #6b7280;
  transition: transform 0.2s;
  width: 18px;
  height: 18px;
}

.chevron.open {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}

.faq-answer.open {
  max-height: 24rem;
  opacity: 1;
}

.faq-answer p {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.625;
  background: #fff;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: #111827;
  color: #fff;
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}

.footer-logo span {
  color: #ffffff;
}

.footer-links {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

.footer-app {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-app {
    flex-direction: row;
    justify-content: center;
  }
}

.footer-app-text {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
}

.app-btns {
  display: flex;
  gap: 0.75rem;
}

.app-btn {
  padding: 0.5rem 1rem;
  background: #1f2937;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: #d1d5db;
  transition: background 0.15s;
}

.app-btn:hover {
  background: #374151;
}

/* SVG icons helpers */
svg {
  display: inline-block;
  vertical-align: middle;
}
