/* ============================================
   Премиальный сайт Марины Андреевой
   Регрессолог • Гипнотерапевт • Психолог
   Методика «Навигатор сознания»
   ============================================ */

:root {
  --navy: #0a1628;
  --navy-light: #0f1d35;
  --navy-card: #111d35;
  --graphite: #1a1c24;
  --graphite-light: #22242e;
  --burgundy: #6b1d2e;
  --burgundy-light: #852639;
  --burgundy-dark: #4f1522;
  --gold: #b8944e;
  --gold-light: #c9a84c;
  --gold-pale: #d4c5a0;
  --beige: #f5f0e8;
  --beige-dark: #e8e0d4;
  --beige-darker: #d9cfbf;
  --white: #ffffff;
  --text: #e8e4dd;
  --text-muted: #9a9790;
  --text-dark: #2a2520;
  --text-dark-muted: #5c5750;
  --border-dark: rgba(255,255,255,0.06);
  --border-light: rgba(0,0,0,0.06);
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
body {
  background-color: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
}

a {
  color: var(--gold);
  transition: color var(--transition);
}
a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

/* ---- Navbar ---- */
.navbar-marina {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  padding: 14px 0;
  transition: all var(--transition);
}

.navbar-marina .navbar-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text) !important;
  letter-spacing: 0.02em;
}
.navbar-marina .navbar-brand span {
  color: var(--gold);
}

.navbar-marina .nav-link {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 16px !important;
  transition: color var(--transition);
}
.navbar-marina .nav-link:hover,
.navbar-marina .nav-link.active {
  color: var(--gold) !important;
}

.navbar-marina .navbar-toggler {
  border-color: rgba(255,255,255,0.15);
}
.navbar-marina .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.6)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Section Common ---- */
.section-marina {
  padding: 100px 0;
}
.section-marina-sm {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--navy);
}
.section-navy-light {
  background-color: var(--navy-light);
}
.section-graphite {
  background-color: var(--graphite);
}
.section-beige {
  background-color: var(--beige);
  color: var(--text-dark);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 500;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.section-beige .section-title {
  color: var(--text-dark);
}
.section-beige .section-subtitle {
  color: var(--text-dark-muted);
}

/* ---- Gold Line ---- */
.gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 32px;
}
.gold-line.center {
  margin-left: auto;
  margin-right: auto;
}

/* ---- Buttons ---- */
.btn-marina {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 0;
  transition: all var(--transition);
  text-transform: uppercase;
  font-family: var(--font-body);
  cursor: pointer;
}

.btn-marina-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-marina-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-marina-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-marina-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

.btn-marina-outline-light {
  background: transparent;
  color: var(--beige);
  border: 2px solid rgba(245,240,232,0.3);
}
.btn-marina-outline-light:hover {
  background: var(--beige);
  color: var(--navy);
  border-color: var(--beige);
}

.btn-marina-burgundy {
  background: var(--burgundy);
  color: var(--beige);
  border: 2px solid var(--burgundy);
}
.btn-marina-burgundy:hover {
  background: transparent;
  color: var(--burgundy);
}


/* ---- Hero Premium ---- */
.hero-premium {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #081a33 0%, #0a1f40 50%, #050d1a 100%);
  padding-top: 74px;
}

.hero-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1400px 800px at 15% 45%, rgba(184, 148, 78, 0.06) 0%, rgba(184, 148, 78, 0) 65%),
    radial-gradient(900px 700px at 85% 55%, rgba(13, 34, 68, 0.35) 0%, rgba(13, 34, 68, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

/* Decorative big letter + arc */
.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: none;
}

.hero-big-letter {
  position: absolute;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 30vw, 28rem);
  color: rgba(184,148,78,0.08);
  line-height: 1;
  user-select: none;
}

.hero-gold-arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Content */
.hero-premium-content {
  position: relative;
  z-index: 3;
  width: 100%;
  height: calc(100vh - 74px);
  display: flex;
  align-items: center;
}

.hero-text-col {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  padding: 60px 8vw;
  flex: 0 0 50%;
  height: 100%;
}

.hero-text-inner {
  max-width: 580px;
}

.hero-name-premium {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* Text elements inside premium hero */
.hero-premium .hero-overline {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 500;
  opacity: 0.95;
}

.hero-premium .hero-roles {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
  font-weight: 300;
  line-height: 1.5;
}

.hero-premium .hero-quote {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--gold-pale);
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 48px;
  position: relative;
  padding-left: 28px;
  border-left: 2px solid rgba(184,148,78,0.7);
  font-weight: 400;
}

.hero-premium .hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Photo */
.hero-photo-col {
  position: relative;
  flex: 0 0 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-photo-premium {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0.3) 95%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0.3) 95%, rgba(0,0,0,0) 100%);
}

/* Responsive */
@media (max-width: 1199px) {
  .hero-text-col {
    padding-left: 6vw;
    padding-right: 4vw;
  }
  .hero-premium .hero-actions .btn-marina {
    padding: 12px 26px;
  }
}

@media (max-width: 991px) {
  .hero-premium {
    min-height: 100vh;
    padding-top: 74px;
  }
  .hero-premium-content {
    flex-direction: column;
    height: auto;
  }
  .hero-text-col {
    flex: 0 0 auto;
    padding: 80px 40px 40px;
    height: auto;
    min-height: auto;
  }
  .hero-photo-col {
    flex: 0 0 auto;
    height: 50vh;
    min-height: 50vh;
    justify-content: center;
  }
  .hero-photo-premium {
    width: 100%;
    height: 100%;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  }
}

@media (max-width: 768px) {
  .hero-name-premium {
    font-size: 2.5rem;
  }
  .hero-premium .hero-quote {
    font-size: 1.1rem;
    margin-bottom: 32px;
  }
  .hero-text-col {
    padding: 60px 28px 30px;
  }
  .section-title {
    font-size: 2rem;
  }
  .section-marina {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero-name-premium {
    font-size: 2rem;
  }
  .hero-premium .hero-quote {
    font-size: 1rem;
  }
  .hero-text-col {
    padding: 50px 20px 20px;
  }
  .hero-premium .hero-actions {
    flex-direction: column;
  }
  .hero-premium .hero-actions .btn-marina {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }
}

/* ---- Method Card ---- */
.method-card {
  background: var(--navy-card);
  border: 1px solid var(--border-dark);
  padding: 40px 36px;
  height: 100%;
  transition: all var(--transition);
}
.method-card:hover {
  border-color: rgba(184,148,78,0.25);
  transform: translateY(-4px);
}

.method-card .method-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,148,78,0.1);
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 1.4rem;
}

.method-card h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.method-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---- Query Tags ---- */
.query-tag {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 6px 4px;
  transition: all var(--transition);
  cursor: default;
}
.query-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(184,148,78,0.05);
}

/* ---- Format Cards ---- */
.format-card {
  background: var(--navy-card);
  border: 1px solid var(--border-dark);
  padding: 44px 36px;
  height: 100%;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.format-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.format-card:hover::before {
  transform: scaleX(1);
}
.format-card:hover {
  border-color: rgba(184,148,78,0.3);
  transform: translateY(-4px);
}

.format-card .format-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(184,148,78,0.08);
  position: absolute;
  top: 16px;
  right: 28px;
  line-height: 1;
}

.format-card .format-icon {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.format-card h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.format-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.format-card .btn-marina {
  margin-top: auto;
  align-self: flex-start;
}

/* ---- Steps ---- */
.step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  background: rgba(184,148,78,0.06);
}

.step-body h4 {
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.step-body p {
  color: var(--text-dark-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---- FAQ Accordion ---- */
.accordion-marina .card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  border-radius: 0;
}

.accordion-marina .card-header {
  background: transparent;
  border: none;
  padding: 0;
}

.accordion-marina .btn-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  color: var(--text) !important;
  font-size: 1.05rem;
  text-align: left;
  text-decoration: none !important;
  font-family: var(--font-display);
  transition: color var(--transition);
  white-space: normal;
}

.accordion-marina .btn-link:hover {
  color: var(--gold) !important;
}

.accordion-marina .btn-link::after {
  content: '\ea5d';
  font-family: 'tabler-icons';
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.accordion-marina .btn-link[aria-expanded="true"]::after {
  transform: rotate(45deg);
  color: var(--gold);
}

.accordion-marina .card-body {
  padding: 0 0 24px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---- CTA Block ---- */
.cta-block {
  background: var(--graphite);
  border: 1px solid var(--border-dark);
  padding: 60px 48px;
  text-align: center;
}

.cta-block h3 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.cta-block p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 28px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Footer ---- */
.footer-marina {
  background: var(--graphite);
  border-top: 1px solid var(--border-dark);
  padding: 48px 0 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-marina .footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-marina .footer-brand span {
  color: var(--gold);
}

.footer-marina .footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-marina .footer-tg:hover {
  color: var(--gold-light);
}

.footer-marina .footer-bottom {
  border-top: 1px solid var(--border-dark);
  margin-top: 32px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

/* ---- Inner Page Hero ---- */
.inner-hero {
  padding: 160px 0 80px;
  background: var(--navy);
  background-image: 
    radial-gradient(ellipse at 60% 30%, rgba(107,29,46,0.1) 0%, transparent 55%);
}

.inner-hero .inner-hero-title {
  font-size: 3rem;
  font-family: var(--font-display);
  color: var(--text);
  margin-bottom: 16px;
}

.inner-hero .inner-hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 560px;
}

@media (max-width: 768px) {
  .inner-hero .inner-hero-title {
    font-size: 2.2rem;
  }
  .inner-hero {
    padding: 120px 0 60px;
  }
}

/* ---- Book Page ---- */
.book-cover-mock {
  background: linear-gradient(135deg, var(--graphite) 0%, var(--navy-card) 100%);
  border: 1px solid var(--border-dark);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.book-cover-mock::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}
.book-cover-mock .book-icon {
  font-size: 4rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.book-cover-mock h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.4rem;
}

/* ---- Education Cards ---- */
.edu-card {
  background: var(--navy-card);
  border: 1px solid var(--border-dark);
  padding: 40px 36px;
  height: 100%;
  transition: all var(--transition);
}
.edu-card:hover {
  border-color: rgba(184,148,78,0.25);
  transform: translateY(-4px);
}
.edu-card .edu-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(184,148,78,0.1);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.edu-card h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.edu-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Direction List ---- */
.dir-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-dark);
}
.dir-item:last-child {
  border-bottom: none;
}
.dir-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(184,148,78,0.08);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
}
.dir-body h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.dir-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: rgba(184,148,78,0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(184,148,78,0.5);
}

/* ---- Responsive ---- */
@media (max-width: 576px) {
  .hero-marina .hero-actions {
    flex-direction: column;
  }
  .hero-marina .hero-actions .btn-marina {
    width: 100%;
    justify-content: center;
  }
  .cta-block {
    padding: 40px 24px;
  }
  .cta-block h3 {
    font-size: 1.4rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn-marina {
    width: 100%;
    justify-content: center;
  }
  .format-card,
  .method-card,
  .edu-card {
    padding: 32px 24px;
  }
}
/* ---- Book Cover Image ---- */
.book-cover-wrap {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.book-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Book Quote ---- */
.book-quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  font-style: italic;
  padding: 16px 0 16px 28px;
  border-left: 3px solid var(--gold);
  margin: 24px 0;
}

/* ---- Epigraph Block ---- */
.epigraph-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0 20px;
}

.epigraph-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-pale);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .book-quote {
    font-size: 1.25rem;
  }
  .epigraph-text {
    font-size: 1.35rem;
  }
}

@media (max-width: 576px) {
  .book-quote {
    font-size: 1.1rem;
  }
  .epigraph-text {
    font-size: 1.15rem;
  }
}