:root {
  --bg-base: #060913;
  --bg-deep: #09111f;
  --bg-panel: rgba(10, 15, 25, 0.88);
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --text-main: #ffffff;
  --text-muted: #a0abc0;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 175, 55, 0.26);
  --font-display: "Cormorant Garamond", serif;
  --font-brand: "Tangerine", "Cormorant Garamond", cursive;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(52, 76, 120, 0.18), transparent 26%),
    linear-gradient(180deg, #04070f 0%, var(--bg-base) 45%, #07101d 100%);
}

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

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

.detail-page {
  padding: 32px clamp(20px, 4vw, 56px) 56px;
}

.detail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto 32px;
  max-width: 1320px;
}

.nav-brand {
  font-family: var(--font-brand);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  color: var(--text-main);
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.nav-link.contact-link {
  background: #000;
  color: var(--gold-primary);
  border-color: rgba(212, 175, 55, 0.55);
}

.detail-shell {
  max-width: 1320px;
  margin: 0 auto;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(360px, 1.08fr);
  background: linear-gradient(145deg, rgba(9, 14, 25, 0.92), rgba(8, 12, 22, 0.78));
  border: 1px solid var(--border-light);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.detail-media {
  position: relative;
  min-height: 680px;
  background: #05070d;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 20, 0.08) 0%, rgba(7, 11, 20, 0.14) 34%, rgba(7, 11, 20, 0.72) 100%),
    linear-gradient(90deg, transparent 52%, rgba(5, 7, 13, 0.56) 100%);
}

.detail-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(10px);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
}

.detail-kicker {
  margin: 0 0 14px;
  color: var(--gold-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.detail-title {
  margin: 0 0 14px;
  font-family: var(--font-brand);
  font-size: clamp(3.2rem, 5.8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.88;
  color: var(--text-main);
}

.detail-price {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

.detail-copy {
  margin: 0 0 26px;
  color: rgba(232, 236, 245, 0.84);
  font-size: 16px;
  line-height: 1.8;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.7;
}

.detail-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-primary);
  font-size: 12px;
}

.detail-note {
  margin: 0 0 26px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-status {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.26);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  font-size: 14px;
  line-height: 1.6;
}

.service-status[hidden] {
  display: none;
}

.service-status[data-tone="success"] {
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(34, 197, 94, 0.14);
  color: #d9ffe4;
}

.service-status[data-tone="error"] {
  border-color: rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.18);
  color: #ffd8d8;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.35);
}

.action-btn.action-primary {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
  border-color: var(--border-gold);
  color: var(--gold-light);
}

.action-btn.action-secondary {
  background: #000;
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.action-btn.action-ghost {
  color: var(--text-muted);
}

.action-btn.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.action-btn.is-disabled {
  border-color: rgba(255, 255, 255, 0.14);
}

.detail-footer {
  margin: 28px auto 0;
  max-width: 1320px;
  text-align: center;
  color: rgba(160, 171, 192, 0.72);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .detail-page {
    padding: 20px 16px 44px;
  }

  .detail-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
  }

  .detail-content {
    padding: 28px 20px 26px;
  }

  .detail-title {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

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

  .action-btn {
    width: 100%;
  }
}
