/* ============================================================
 * Star Path · mobile-first stylesheet
 * Base = mobile (320–767px). Tablet/desktop через min-width media.
 * ============================================================ */

:root {
  --bg: #faf9f6;           /* warm cream */
  --bg-card: #ffffff;
  --bg-soft: #f4f0e8;      /* deeper cream for sections */
  --bg-mute: #ede7dc;
  --text: #1f1b2e;         /* deep navy/purple */
  --muted: #6e6680;
  --faint: #a7a0b8;
  --border: #e8e2d9;       /* warm tan border */
  --border-strong: #d4ccc0;
  --accent: #6d4ba8;       /* refined plum */
  --accent-2: #c46a8b;     /* dusty rose */
  --accent-soft: #f3eef8;
  --accent-dark: #543b87;
  --gold: #b89530;         /* deep mute gold, не неон */
  --success: #4f7c5b;
  --danger: #b45454;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 10px 30px -8px rgba(15,23,42,0.15);
  --shadow-lg: 0 20px 50px -12px rgba(124,58,237,0.25);
  --radius: 10px;
  --radius-lg: 16px;
  --header-h: 56px;
  --tap: 44px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); }
img, svg { max-width: 100%; height: auto; display: block; }
::selection { background: var(--accent-soft); color: var(--accent-dark); }

.wrap, .narrow { width: 100%; padding: 0 16px; margin: 0 auto; }

/* ============ Header ============ */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex; align-items: center;
}
header.site .row { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 17px; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; display: grid; place-items: center; font-weight: 700; font-size: 16px;
}
.badge-beta {
  background: var(--accent-soft); color: var(--accent);
  padding: 3px 9px; border-radius: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
}
.nav-right { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.nav-right a { text-decoration: none; color: var(--muted); padding: 8px 4px; min-height: var(--tap); display: inline-flex; align-items: center; }
.nav-right a:hover { color: var(--text); }
.nav-right .btn { padding: 8px 14px; min-height: 36px; font-size: 13px; }
.nav-right .nav-admin { color: #d4a574; font-weight: 500; padding: 6px 10px; border: 1px solid rgba(212,165,116,0.35); border-radius: 6px; }
.nav-right .nav-admin:hover { color: #f5e6c8; border-color: #d4a574; background: rgba(212,165,116,0.08); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; min-height: var(--tap);
  border-radius: var(--radius);
  background: var(--accent); color: white; border: none; text-decoration: none;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background 0.15s, transform 0.05s;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--border); }
.btn.ghost:hover { background: var(--accent-soft); border-color: var(--accent); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #b91c1c; }
.btn.block { width: 100%; padding: 14px 20px; font-size: 16px; }
.btn.lg { padding: 16px 24px; font-size: 17px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.gradient { background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: var(--shadow-lg); }
.btn.gradient:hover { filter: brightness(1.06); }

/* ============ Cards & forms ============ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card h1, .card h2, .card h3 { margin-top: 0; }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; min-height: var(--tap);
  padding: 12px 14px; font-size: 16px;
  font-family: inherit;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none; -webkit-appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.12);
}
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.field-checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.field-checkbox input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; }
.field-checkbox a { color: var(--accent); }

/* ============ Status & feedback ============ */
.status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; display: none; }
.status.loading { display: block; background: var(--accent-soft); color: var(--accent-dark); }
.status.error { display: block; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.status.success { display: block; background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.spinner { display: inline-block; width: 14px; height: 14px; border: 2.5px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; margin-right: 8px; vertical-align: -2px; }
@keyframes spin { to { transform: rotate(360deg); } }

.divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--faint); font-size: 12px; margin: 18px 0;
  text-transform: uppercase; letter-spacing: 1px;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ============ OAuth ============ */
.oauth { display: grid; gap: 10px; }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 16px; min-height: var(--tap);
  border-radius: var(--radius); border: 1.5px solid var(--border);
  background: white; color: var(--text); text-decoration: none; font-weight: 500;
  font-size: 14px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.oauth-btn:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-soft); }
.oauth-btn:disabled, .oauth-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.oauth-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ Banner ============ */
.banner { padding: 13px 16px; border-radius: var(--radius); margin-bottom: 14px; font-size: 14px; line-height: 1.5; }
.banner.warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.banner.info { background: var(--accent-soft); color: var(--accent-dark); border: 1px solid #c4b5fd; }
.banner.success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.banner button { margin-left: 8px; font-size: 13px; padding: 5px 10px; min-height: auto; }
.banner a { font-weight: 600; }

/* ============ Pills ============ */
.pill { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.3px; }
.pill.pending_payment { background: #fffbeb; color: #92400e; }
.pill.paid, .pill.generating { background: var(--accent-soft); color: var(--accent); }
.pill.ready { background: #f0fdf4; color: var(--success); }
.pill.failed { background: #fef2f2; color: var(--danger); }
.pill.cancelled { background: #f1f5f9; color: var(--muted); }
.pill.relation { background: var(--bg-mute); color: var(--muted); }
.pill.blue { background: var(--accent-soft); color: var(--accent); }
.pill.gray { background: var(--bg-mute); color: var(--muted); }

/* ============ Order rows ============ */
.order-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; background: white;
}

/* ============ Person rows ============ */
.person-row {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius);
  background: white; margin-bottom: 8px;
}
.person-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; font-weight: 600; display: grid; place-items: center; font-size: 16px;
}
.person-row .meta { color: var(--muted); font-size: 13px; margin-top: 2px; }
.person-row .actions { margin-left: auto; display: flex; gap: 6px; }
.person-row .icon-btn {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
  background: white; cursor: pointer; padding: 0; display: grid; place-items: center;
  color: var(--muted);
}
.person-row .icon-btn:hover { color: var(--text); border-color: var(--accent); }
.person-row .icon-btn.danger:hover { color: var(--danger); border-color: var(--danger); }
.person-row .star { color: var(--gold); }

/* ============ Service cards ============ */
.service-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 18px; background: white; cursor: pointer;
  transition: border-color 0.15s, transform 0.05s, box-shadow 0.15s;
}
.service-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.service-card.active { border-color: var(--accent); background: var(--accent-soft); }
.service-card h3 { margin: 0 0 4px; font-size: 17px; }
.service-card p { color: var(--muted); font-size: 13px; margin: 0 0 12px; line-height: 1.5; }
.service-price { font-weight: 700; font-size: 20px; }
.service-price small { color: var(--faint); font-weight: 500; font-size: 14px; }

/* ============ Hero ============ */
.hero {
  padding: 32px 0 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 55%);
  pointer-events: none; z-index: -1;
}
h1.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px; letter-spacing: -1px; margin: 0 0 12px;
  line-height: 1.1; font-weight: 700;
}
h1.hero-title em { color: var(--accent); font-style: italic; }
.hero-sub { color: var(--muted); font-size: 16px; max-width: 480px; margin: 0 auto 22px; line-height: 1.5; }

.kicker {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.section { padding: 32px 0; }
.section h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; margin: 0 0 8px; letter-spacing: -0.4px; }
.section .subtitle { color: var(--muted); margin: 0 0 22px; font-size: 15px; }

/* ============ Steps ============ */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; }
.step { display: flex; gap: 14px; padding: 16px; background: white; border: 1px solid var(--border); border-radius: var(--radius); }
.step-num { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.step h3 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* ============ Testimonials ============ */
.testimonials { display: grid; gap: 12px; grid-template-columns: 1fr; }
.testimonial { padding: 18px; background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); font-size: 14px; line-height: 1.6; }
.testimonial blockquote { margin: 0 0 10px; color: var(--text); font-size: 15px; }
.testimonial .author { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }
.testimonial .author .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: white; display: grid; place-items: center; font-weight: 600; font-size: 13px; }

/* ============ Horoscope panel ============ */
.horoscope-card {
  padding: 22px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1a0f2e 0%, #2a1f4e 100%);
  color: #f5e6d3; box-shadow: var(--shadow-lg);
}
.horoscope-card .tabs { display: flex; gap: 6px; margin-bottom: 14px; background: rgba(255,255,255,0.08); padding: 4px; border-radius: var(--radius); }
.horoscope-card .tab { flex: 1; padding: 8px 0; text-align: center; border-radius: 6px; font-size: 13px; font-weight: 600; background: transparent; color: rgba(245,230,211,0.7); border: none; cursor: pointer; font-family: inherit; }
.horoscope-card .tab.active { background: rgba(245,230,211,0.18); color: #f5e6d3; }
.horoscope-card h3 { color: #d4af37; font-family: 'Playfair Display', serif; margin: 0 0 8px; }
.horoscope-card p { line-height: 1.6; font-size: 14px; margin: 8px 0; }

/* ============ FAQ ============ */
.faq details { background: white; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ============ Sticky CTA ============ */
.cta-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: none;
}
.cta-sticky .btn { width: 100%; }

/* ============ Footer ============ */
footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
  margin-top: 48px;
  color: var(--faint);
  font-size: 13px;
}
footer.site .row { display: flex; flex-direction: column; gap: 10px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

/* ============ Cookie banner ============ */
#cookie-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  background: var(--text); color: white;
  padding: 14px 18px; border-radius: var(--radius-lg);
  display: none; gap: 12px; align-items: center;
  box-shadow: var(--shadow-lg); font-size: 13px; z-index: 80;
  max-width: 720px; margin: 0 auto;
}
#cookie-banner.shown { display: flex; flex-wrap: wrap; }
#cookie-banner a { color: #c4b5fd; }
#cookie-banner button { font-size: 13px; padding: 8px 16px; min-height: auto; }

/* ============ Toasts ============ */
#toast-host {
  position: fixed; left: 16px; right: 16px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column-reverse; gap: 8px;
  z-index: 200; pointer-events: none;
  max-width: 480px; margin: 0 auto;
}
.toast {
  background: var(--text); color: white;
  padding: 12px 16px; border-radius: 12px;
  box-shadow: var(--shadow-lg); font-size: 14px;
  pointer-events: auto;
  animation: toastIn 0.22s ease-out;
  display: flex; align-items: flex-start; gap: 10px;
  word-break: break-word;
}
.toast.success { background: #064e3b; }
.toast.error { background: #7f1d1d; }
.toast.info { background: #1e293b; }
.toast .icon { flex-shrink: 0; width: 18px; height: 18px; }
.toast.hide { animation: toastOut 0.2s ease-in forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

@media (min-width: 768px) {
  #toast-host { left: auto; right: 24px; bottom: 24px; max-width: 360px; }
}

/* ============ Modal ============ */
.modal-bg {
  position: fixed; inset: 0; background: rgba(15,23,42,0.55);
  display: none; align-items: center; justify-content: center;
  z-index: 100; padding: 16px;
  backdrop-filter: blur(4px);
}
.modal-bg.shown { display: flex; }
.modal {
  background: white; border-radius: var(--radius-lg);
  max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 24px;
}
.modal h2 { margin: 0 0 4px; font-family: 'Playfair Display', serif; }
.modal .subtitle { color: var(--muted); font-size: 14px; margin: 0 0 18px; }

/* ============ Utilities ============ */
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.center { text-align: center; }
.flex { display: flex; gap: 12px; align-items: center; }
.flex-col { display: flex; flex-direction: column; gap: 12px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.hide-mobile { display: none; }
.show-mobile { display: inline; }

/* ============================================================
 * Landing — premium layout components
 * Editorial / magazine style, dark hero, gold accents.
 * ============================================================ */

.bleed { width: 100%; }

/* ============ Hero (light, airy) ============ */
.hero-light {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  text-align: center;
}
.hero-light::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(196, 106, 139, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(109, 75, 168, 0.05) 0%, transparent 70%);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  margin-bottom: 28px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ""; display: block; width: 24px; height: 1px; background: var(--gold); opacity: 0.5;
}
.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 24px;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero-lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px; min-height: 52px;
  background: var(--text); color: #faf9f6;
  border-radius: 100px; text-decoration: none; font-weight: 500; font-size: 15px;
  transition: background 0.15s, transform 0.05s;
  letter-spacing: 0.2px;
}
.hero-cta:hover { background: var(--accent-dark); }
.hero-cta:active { transform: scale(0.98); }
.hero-cta svg { width: 14px; height: 14px; }

.trust-strip {
  margin-top: 64px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  text-align: center;
}
.trust-strip .item .num {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--text); line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.trust-strip .item .label {
  font-size: 11px; color: var(--muted);
  letter-spacing: 2px; text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero-light { padding: 96px 0 80px; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); gap: 40px; }
}

/* ============ Section heading editorial ============ */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-head .sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============ Zodiac strip (selector) ============ */
.zodiac-strip {
  display: flex; overflow-x: auto; gap: 6px;
  padding: 8px 0;
  scrollbar-width: none; -ms-overflow-style: none;
}
.zodiac-strip::-webkit-scrollbar { display: none; }
.zodiac-btn {
  flex: 0 0 auto;
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 5px;
  min-width: 60px;
  padding: 10px 8px;
  background: transparent; border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer; font-family: inherit;
  color: var(--muted);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.zodiac-btn:hover { color: var(--text); background: rgba(0,0,0,0.03); }
.zodiac-btn.active {
  color: var(--text); background: var(--accent-soft);
  border-color: rgba(109,75,168,0.2);
}
.zodiac-btn svg { width: 24px; height: 24px; color: var(--accent); }
.zodiac-btn .label { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2px; }
.zodiac-btn.active svg { color: var(--accent-dark); }

@media (min-width: 768px) {
  .zodiac-strip { justify-content: center; flex-wrap: wrap; gap: 4px; overflow-x: visible; }
}

/* ============ Public horoscope (light, airy) ============ */
.horoscope-widget {
  position: relative;
  padding: 28px 20px;
  border-radius: 18px;
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}
.horoscope-widget .label {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  margin-bottom: 14px;
}
.horoscope-widget .tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 4px; padding: 4px;
  background: var(--bg-soft);
  border-radius: 100px;
  margin-bottom: 22px;
}
.horoscope-widget .tab {
  padding: 9px 0; text-align: center;
  border-radius: 100px; font-size: 13px; font-weight: 500;
  background: transparent; color: var(--muted); border: none;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.horoscope-widget .tab.active {
  background: white; color: var(--text);
  box-shadow: 0 1px 3px rgba(31,27,46,0.08);
}
.horoscope-widget h3 {
  font-family: 'Playfair Display', serif;
  color: var(--text); font-size: 22px; margin: 0 0 14px;
  font-weight: 400; letter-spacing: -0.01em;
}
.horoscope-widget .body { line-height: 1.75; font-size: 15px; color: var(--text); }
.horoscope-widget .body p { margin: 12px 0; }
.horoscope-widget .footer-line {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.horoscope-widget .footer-line a { color: var(--accent); font-weight: 500; text-decoration: none; }

.horoscope-individual {
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fbf6ff 100%);
  border: 1px solid rgba(109,75,168,0.15);
}
.horoscope-individual .head {
  display: flex; gap: 10px; align-items: center; margin-bottom: 10px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  font-weight: 600;
}
.horoscope-individual h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; margin: 0 0 10px; font-weight: 400; letter-spacing: -0.01em;
}
.horoscope-individual .body { font-size: 14px; line-height: 1.7; color: var(--text); }
.horoscope-individual .body p { margin: 8px 0; }

@media (min-width: 768px) {
  .horoscope-widget { padding: 36px 32px; }
}

/* ============ Premium service cards (editorial) ============ */
.svc-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
  margin-bottom: 32px;
}
.svc-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(124,58,237,0.04) 100%);
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.svc-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -20px rgba(124,58,237,0.25);
}
.svc-card:hover::before { opacity: 1; }
.svc-card.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, #faf7ff 0%, #fff 100%);
  box-shadow: 0 20px 50px -20px rgba(124,58,237,0.25);
}
.svc-card .icon-circle {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 18px;
  position: relative;
}
.svc-card .icon-circle svg { width: 28px; height: 28px; }
.svc-card.featured .icon-circle {
  background: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  color: white;
}
.svc-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  margin: 0 0 8px; letter-spacing: -0.01em;
}
.svc-card .desc {
  color: var(--muted); font-size: 14px; line-height: 1.6;
  margin: 0 0 20px;
}
.svc-card .price-row {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.svc-card .price-main {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 24px;
  color: var(--text);
}
.svc-card .price-main small { color: var(--faint); font-weight: 500; font-size: 16px; margin-left: 4px; }
.svc-card .pick {
  font-size: 13px; font-weight: 600; color: var(--accent);
}

.svc-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, #fef3c7 0%, #fff 35%, #f5f3ff 100%);
}
.svc-card .ribbon {
  position: absolute; top: 18px; right: 18px;
  background: var(--accent); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 100px;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .svc-grid { grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
  .svc-card { padding: 32px 28px; }
}

/* ============ Sample / How it works ============ */
.feature-block {
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
.feature-block .copy h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.4vw, 32px); line-height: 1.2;
  margin: 0 0 12px; letter-spacing: -0.01em;
}
.feature-block .copy p {
  color: var(--muted); font-size: 15px; line-height: 1.7;
}
.feature-block .copy ul { padding-left: 18px; margin: 14px 0; }
.feature-block .copy li { margin: 6px 0; color: var(--muted); }
.feature-block .visual {
  background: linear-gradient(160deg, #1a0f2e 0%, #2a1f4e 100%);
  border-radius: 20px;
  padding: 32px 24px;
  color: #f5e6d3;
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15,8,34,0.4);
}
.feature-block .visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(212,175,55,0.2), transparent 60%);
  pointer-events: none;
}
.feature-block .visual .badge {
  display: inline-block; font-size: 10px; letter-spacing: 2px;
  color: #d4af37; text-transform: uppercase; margin-bottom: 12px;
}
.feature-block .visual h4 {
  font-family: 'Playfair Display', serif;
  color: #f5e6d3; font-size: 24px; margin: 0 0 14px;
}
.feature-block .visual .quote {
  font-style: italic; font-size: 15px; line-height: 1.7;
  color: rgba(245,230,211,0.9);
  border-left: 2px solid #d4af37;
  padding-left: 14px;
  margin: 16px 0;
}
.feature-block .visual .small {
  font-size: 12px; color: rgba(245,230,211,0.55);
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(245,230,211,0.1);
}

@media (min-width: 768px) {
  .feature-block { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .feature-block.reverse .copy { order: 2; }
  .feature-block .visual { padding: 48px 40px; }
}

/* ============ Steps (premium horizontal) ============ */
.steps-premium {
  display: grid; gap: 18px; grid-template-columns: 1fr;
}
.step-premium {
  position: relative;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s;
}
.step-premium:hover { border-color: var(--accent); transform: translateY(-2px); }
.step-premium .num {
  font-family: 'Playfair Display', serif;
  font-size: 42px; font-weight: 700;
  color: var(--accent); line-height: 1;
  margin-bottom: 14px; display: block;
  opacity: 0.65;
}
.step-premium h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  margin: 0 0 6px;
}
.step-premium p { color: var(--muted); margin: 0; font-size: 14px; line-height: 1.6; }

@media (min-width: 768px) {
  .steps-premium { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

/* ============ Testimonials editorial ============ */
.testi-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
.testi-hero {
  padding: 40px 32px;
  background: linear-gradient(135deg, #f5f3ff 0%, #fff 100%);
  border-radius: 20px;
  border: 1px solid var(--border);
}
.testi-hero blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.35;
  font-style: italic;
  color: var(--text);
  margin: 0 0 24px;
  font-weight: 500;
}
.testi-hero .author {
  display: flex; gap: 14px; align-items: center;
  color: var(--muted); font-size: 14px;
}
.testi-hero .author .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; display: grid; place-items: center;
  font-weight: 600;
}
.testi-card-mini {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.testi-card-mini blockquote {
  font-size: 15px; line-height: 1.6;
  color: var(--text); margin: 0 0 16px;
}
.testi-card-mini .author {
  display: flex; gap: 10px; align-items: center;
  color: var(--muted); font-size: 13px;
}
.testi-card-mini .author .av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white; display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
}

@media (min-width: 1024px) {
  .testi-grid { grid-template-columns: 2fr 1fr 1fr; }
  .testi-hero { grid-row: span 1; }
}

/* ============ Final CTA ============ */
.cta-final {
  position: relative;
  padding: 56px 24px;
  border-radius: 24px;
  text-align: center;
  color: #f5e6d3;
  overflow: hidden;
  isolation: isolate;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 25% 30%, rgba(124,58,237,0.6), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(236,72,153,0.5), transparent 60%),
    linear-gradient(135deg, #1a0f2e 0%, #0f0822 100%);
}
.cta-final h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 14px; color: #f5e6d3;
}
.cta-final p {
  color: rgba(245,230,211,0.75);
  font-size: 16px; line-height: 1.6;
  max-width: 480px; margin: 0 auto 28px;
}
.cta-final .hero-cta { box-shadow: 0 20px 50px -10px rgba(212,175,55,0.45); }

@media (min-width: 768px) {
  .cta-final { padding: 80px 48px; }
}

/* ============ Order form premium ============ */
.order-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 30px 80px -40px rgba(15,23,42,0.15);
}
.order-form h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; margin: 0 0 6px;
}
@media (min-width: 768px) { .order-form { padding: 40px; } }

/* ============ FAQ refined ============ */
.faq-list details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
  padding: 18px 22px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-list details[open] {
  border-color: var(--accent);
  box-shadow: 0 10px 30px -16px rgba(124,58,237,0.2);
}
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-list summary::after {
  content: ""; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  transition: transform 0.25s, background 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-position: center; background-repeat: no-repeat;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq-list details > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px; line-height: 1.65;
}

/* ============ Misc ============ */
.section-lg { padding: 64px 0; }
@media (min-width: 768px) { .section-lg { padding: 96px 0; } }

/* ============ Tablet ≥ 768px ============ */
@media (min-width: 768px) {
  .wrap { max-width: 720px; padding: 0 24px; }
  .narrow { max-width: 520px; padding: 0 24px; }
  :root { --header-h: 64px; }
  header.site { height: var(--header-h); }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  h1.hero-title { font-size: 44px; }
  .hero-sub { font-size: 18px; max-width: 560px; }
  .section { padding: 48px 0; }
  .section h2 { font-size: 32px; }
  footer.site .row { flex-direction: row; justify-content: space-between; }
  .hide-mobile { display: inline; }
  .show-mobile { display: none; }
}

/* ============ Desktop ≥ 1024px ============ */
@media (min-width: 1024px) {
  .wrap { max-width: 960px; padding: 0 32px; }
  .narrow { max-width: 540px; padding: 0 24px; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .hero { padding: 64px 0 40px; }
  h1.hero-title { font-size: 52px; }
  .section h2 { font-size: 36px; }
  .cta-sticky { display: none !important; }
}
