:root {
  --forest: #1a3c1f;
  /* --forest: rgb(43, 100, 52); */
  --forest-dark: #112813;
  --forest-mid: #234d29;
  --gold: #c9a96e;
  --gold-light: #dfc08a;
  --gold-pale: #f5e9d4;
  --cream: #faf7f2;
  --charcoal: #1c1c1c;
  --text-muted: #6b7280;
  --white: #ffffff;
  --border: rgba(201, 169, 110, 0.2);

  --font-display: "Cormorant Garamond", serif;
  --font-accent: "Playfair Display", serif;
  --font-body: "Jost", sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ── Hero ── */
.detail-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
}

.detail-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--forest-dark);
}

.detail-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23C9A84C' fill-rule='evenodd'%3E%3Ccircle cx='40' cy='40' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}

.detail-hero-glow {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 168, 76, 0.15) 0%,
    transparent 70%
  );
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  animation: heroFadeIn 0.8s ease forwards;
}

.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 32px;
  font-weight: 500;
}

.detail-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.detail-breadcrumb a:hover {
  color: var(--gold-light);
}

.detail-breadcrumb span {
  color: rgba(255, 255, 255, 0.25);
}

.detail-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--gold-light);
  padding: 7px 16px;
  border-radius: 60px;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}

.detail-cat-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

.detail-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--white);
  max-width: 720px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.detail-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.detail-price-pill {
  background: var(--gold);
  color: var(--forest-dark);
  padding: 10px 22px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-price-pill .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  opacity: 0.7;
}

.detail-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  line-height: 1.8;
  margin-top: 24px;
  font-weight: 300;
}

.detail-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ── Wave separator ── */
.wave-sep {
  display: block;
  width: 100%;
  height: 64px;
  background: var(--cream);
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-top: -2px;
}

/* ── Body layout ── */
.detail-body {
  background: var(--cream);
  padding: 80px 0 100px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

/* ── Description ── */
.detail-desc-block {
  margin-bottom: 52px;
}

.detail-desc-block h2 {
  font-size: 1.6rem;
  color: var(--forest-dark);
  margin-bottom: 20px;
}

.detail-desc-block p {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}

.detail-desc-block p:last-child {
  margin-bottom: 0;
}

/* ── Includes & Notes ── */
.detail-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 52px;
}

.detail-list-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.detail-list-card h3 {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
  font-family: var(--font-body);
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 9px 0;
  border-bottom: 1px solid var(--sand);
  line-height: 1.6;
}

.detail-list li:last-child {
  border-bottom: none;
}

.li-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.li-icon.check {
  background: var(--gold);
  color: var(--forest-dark);
}

.li-icon.note {
  background: var(--sand);
  color: var(--text-mid);
}

/* ── Sticky sidebar ── */
.detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sidebar-card-top {
  background: var(--forest);
  /* padding: 32px 28px; */
  text-align: center;
}

.sidebar-image {
  margin-bottom: 12px;
  display: block;
}

.sidebar-card-top .sidebar-title h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 6px;
}

.sidebar-card-top .sidebar-title p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.sidebar-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--gold-pale);
  border-bottom: 1px solid var(--gold-pale);
}

.sidebar-price .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  font-weight: 600;
}

.sidebar-price .amount {
  font-size: 1rem;
  color: var(--forest-dark);
  font-weight: 700;
  font-family: var(--font-display);
}

.sidebar-body {
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.sidebar-body .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
  padding: 15px;
  font-size: 0.82rem;
}

.sidebar-body .btn:last-child {
  margin-bottom: 0;
}

.sidebar-guarantee {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 16px;
}

.sidebar-guarantee .g-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.sidebar-guarantee p {
  font-size: 0.76rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ── Other services strip ── */
.other-services {
  margin-top: 64px;
}

.other-services h2 {
  font-size: 1.5rem;
  color: var(--forest-dark);
  margin-bottom: 28px;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.other-card {
  background: var(--white);
  border-radius: 6px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.other-card-content {
  padding: 12px 0px;
}

.other-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-deep);
}

.other-card-icon {
  width: 100%;
  height: 100px;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.other-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-card h4 {
  font-size: 0.95rem;
  color: var(--forest-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.other-card p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.other-card-arrow {
  display: block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Not found ── */
.not-found {
  text-align: center;
  padding: 120px 0;
}

.not-found h2 {
  color: var(--forest-dark);
  margin-bottom: 16px;
}

.not-found p {
  color: var(--text-mid);
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .other-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .detail-lists {
    grid-template-columns: 1fr;
  }

  .other-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    padding: 140px 0 80px;
  }

  .detail-hero-actions {
    flex-direction: column;
  }
}

.svc-card-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--cream);
  flex-wrap: wrap;
}
.svc-price {
  font-size: 0.82rem;
  color: var(--forest-dark);
  font-weight: 700;
}
.svc-price span {
  display: block;
  font-size: 0.63rem;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.svc-btn-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-learn {
  padding: 9px 18px;
  font-size: 0.73rem;
  border-radius: 60px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--forest-dark);
  color: var(--forest-dark);
  background: none;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-learn:hover {
  background: var(--forest-dark);
  color: var(--white);
}
