/* ── PAGE TOKENS ───────────────────────────────────── */
:root {
  --sd-primary: var(--color-blue-600);
  --sd-accent: var(--color-indigo-600);
  --sd-bg: var(--color-white);
  --sd-bg-rgb: 255, 255, 255;
  --sd-blue: var(--color-blue-600);
  --sd-surface: var(--color-slate-50);
  --sd-border: rgba(0, 0, 0, 0.08);
  --sd-text: var(--color-slate-600);
  --sd-text-h: var(--color-slate-900);
  --sd-r: 5px;
  --sd-glass: rgba(255, 255, 255, 0.7);
  --sd-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.dark-theme :root {
  --sd-bg: var(--color-slate-950);
  --sd-bg-rgb: 10, 15, 30;
  --sd-surface: var(--color-slate-900);
  --sd-border: rgba(255, 255, 255, 0.08);
  --sd-text: var(--color-slate-400);
  --sd-text-h: var(--color-slate-50);
  --sd-glass: rgba(15, 23, 42, 0.7);
  --sd-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

body.service-detail-page {
  background: var(--sd-bg);
  color: var(--sd-text);
  transition: background 0.3s ease;
}

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
  color: var(--sd-text-h);
}

/* ── HERO ──────────────────────────────────────────── */
.sd-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.sd-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.sd-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.85) 0%,
    var(--sd-bg) 100%
  );
  backdrop-filter: blur(8px);
  z-index: 1;
}

.dark-theme .sd-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 15, 30, 0.85) 0%,
    var(--sd-bg) 100%
  );
}

.sd-hero .container {
  position: relative;
  z-index: 2;
}

/* ── BADGE ─────────────────────────────────────────── */
.sd-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--sd-primary);
  padding: 6px 16px;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
}

/* ── PRICE CARD ────────────────────────────────────── */
.sd-price-card {
  background: var(--sd-glass);
  border: 1px solid var(--sd-border);
  border-radius: 3px;
  padding: 40px;
  backdrop-filter: blur(24px);
  box-shadow: var(--sd-shadow);
  position: sticky;
  top: 100px;
  transition: all 0.3s ease;
}

.sd-price-big {
  font-family: "Outfit", sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--sd-primary);
  line-height: 1.5;
  letter-spacing: -2px;
}

.sd-time-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  border-radius: 3px;
  padding: 6px 18px;
  font-size: 0.88rem;
  color: var(--sd-text);
  font-weight: 700;
  margin-top: 12px;
}

.sd-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--sd-primary), var(--sd-accent));
  color: var(--color-white) !important;
  text-align: center;
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
  border: none;
}

.sd-book-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.45);
  filter: brightness(1.1);
}

/* ── SECTION ───────────────────────────────────────── */
.sd-section {
  padding: 60px 0;
  border-top: 1px solid var(--sd-border);
}

.sd-section-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sd-text-h);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sd-section-title i {
  color: var(--sd-primary);
  font-size: 1.1rem;
}

/* ── WARNING ───────────────────────────────────────── */
.sd-warning {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-left: 5px solid var(--color-amber-500);
  border-radius: 3px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.sd-warning i {
  color: var(--color-amber-500);
  font-size: 1.1rem;
  margin-top: 3px;
}

.sd-warning p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--sd-text-h);
}

/* ── FEATURE ───────────────────────────────────────── */

/* ── EMPLOYEES ─────────────────────────────────────── */
.sd-emp-card {
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  border-radius: 3px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.sd-emp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sd-shadow);
  border-color: var(--sd-primary);
}

.sd-emp-avatar {
  width: 64px;
  height: 64px;
  border-radius: 3px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sd-primary);
  color: var(--color-white);
  font-weight: 800;
  overflow: hidden;
}

.sd-emp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-emp-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--sd-text-h);
}

.sd-emp-role {
  font-size: 0.85rem;
  color: var(--sd-text);
}

/* ── ADDONS ────────────────────────────────────────── */
.sd-addon-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  border-radius: 3px;
  margin-bottom: 12px;
}

.sd-addon-name {
  font-weight: 700;
  color: var(--sd-text-h);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.sd-addon-meta {
  font-size: 0.85rem;
  color: var(--sd-text);
}

.sd-addon-price {
  font-weight: 800;
  color: var(--sd-primary);
  font-size: 1.1rem;
}

/* ── REVIEWS ───────────────────────────────────────── */
.sd-review-card {
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  border-radius: 3px;
  padding: 28px;
  height: 100%;
}

.sd-stars {
  color: var(--color-amber-500);
  margin-bottom: 12px;
}

.sd-rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.sd-rating-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--sd-text-h);
  line-height: 1.5;
}

.sd-review-date {
  font-size: 0.8rem;
  color: var(--sd-text);
}

.sd-review-text {
  font-size: 0.95rem;
  color: var(--sd-text-h);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.sd-reviewer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sd-text);
}

/* ── GALLERY ───────────────────────────────────────── */

/* ── FAQ ───────────────────────────────────────────── */

/* ── COMPANY BAR ───────────────────────────────────── */
.sd-company-bar {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  text-decoration: none;
  margin-bottom: 32px;
}

/* ── RELATED ───────────────────────────────────────── */
.sd-related-card {
  display: block;
  padding: 20px;
  background: var(--sd-surface);
  border: 1px solid var(--sd-border);
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
  height: 100%;
}

.sd-related-card:hover {
  border-color: var(--sd-primary);
  transform: translateY(-4px);
  box-shadow: var(--sd-shadow);
}

.sd-related-name {
  font-weight: 800;
  color: var(--sd-text-h);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.sd-related-dur {
  font-size: 0.85rem;
  color: var(--sd-text);
}

.sd-related-price {
  font-weight: 800;
  color: var(--sd-primary);
  font-size: 1.1rem;
}

/* ── REVEAL ────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: none;
}

@media (max-width: 991px) {
  .sd-price-card {
    position: static;
    margin-top: 40px;
    padding: 30px;
  }

  .sd-hero {
    padding: 100px 0 60px;
  }
}

.sd-company-bar:hover {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.05);
}

.sd-company-logo {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  object-fit: cover;
  background: var(--sd-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.sd-company-name {
  font-weight: 700;
  color: var(--color-white);
  font-size: 0.95rem;
}

.sd-company-city {
  font-size: 0.78rem;
  color: var(--sd-text);
}

/* ── BREADCRUMB ────────────────────────────────────── */
.sd-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}

.sd-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.sd-breadcrumb a:hover {
  color: var(--color-white);
}

.sd-breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.sd-breadcrumb .current {
  color: var(--color-white);
  font-weight: 600;
}

/* ── BOOTSTRAP DARK-THEME OVERRIDES ───────────────── */
.text-muted,
.text-secondary {
  color: var(--sd-text) !important;
}

.text-dark {
  color: var(--color-slate-200) !important;
}

.text-body {
  color: var(--color-text-light) !important;
}

small,
.small {
  color: inherit;
}

.border-secondary {
  border-color: rgba(255, 255, 255, 0.12) !important;
}
