/* ==================================================================
   Ева Салманова — sub-pages (articles · book · privacy)
   Built fresh in the landing design language:
   wine / cream / ink · Playfair Display + PT Sans. No gold.
================================================================== */

:root {
  --wine: #4a1522;
  --wine2: #5e1d2b;
  --wine-hover: #7a2637;
  --ink: #221913;
  --cream: #ecebe4;
  --cream-alt: #e5e5dd;
  --panel: #ffffff;
  --line: #e4dccd;
  --text: #2a231e;
  --text-soft: #4a4038;
  --muted: #8a7f73;
  --media-bg: #2c211a;
  --radius: 15px;
  --maxw: 1120px;

  /* legacy aliases so any leftover inline var() resolves in-palette */
  --dark: #2a231e;
  --dark-mid: #4a4038;
  --mid: #8a7f73;
  --warm-white: #ecebe4;
  --light-bg: #e5e5dd;
  --border: #e4dccd;
  --gold: #5e1d2b;
  --gold-light: #7a2637;
  --gold-pale: #f3e3e6;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-sans: 'PT Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'PT Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--wine2);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--wine-hover);
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.25;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-block;
  border: 1px solid var(--wine2);
  border-radius: 30px;
  background: var(--wine2);
  color: #f4ece2;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 30px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  background: var(--wine-hover);
  border-color: var(--wine-hover);
  color: #f4ece2;
}

.btn--outline {
  background: transparent;
  color: var(--wine2);
}

.btn--outline:hover {
  background: var(--wine2);
  color: #f4ece2;
}

/* ---------------- shared type ---------------- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--wine2);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 18px;
}

.nav__copy {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--muted);
}

/* ==================================================================
   TOP BAR — .subnav (dark brand lockup, mirrors the landing nav)
================================================================== */
.subnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #241019;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.subnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  padding-bottom: 17px;
}

.subnav__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #f4ece2;
}

.subnav__brand:hover {
  color: #f4ece2;
}

.subnav__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.subnav__role {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #b7a892;
  margin-top: 3px;
}

.subnav__back {
  font-size: 13.5px;
  font-weight: 700;
  color: #b3a496;
  white-space: nowrap;
}

.subnav__back:hover {
  color: #f4ece2;
}

/* ==================================================================
   ARTICLE — header
================================================================== */
.article-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 64px 0 48px;
}

.article-header .container {
  max-width: 780px;
}

.article-header__tag {
  display: inline-block;
  background: var(--wine2);
  color: #f4ece2;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.article-header__title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.article-header__subtitle {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(19px, 3vw, 25px);
  font-weight: 400;
  color: var(--wine2);
  line-height: 1.35;
  margin-bottom: 26px;
}

.article-header__author {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.article-header__author strong {
  color: var(--text);
  font-weight: 700;
}

/* ==================================================================
   ARTICLE — content
================================================================== */
.article-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 52px 24px 90px;
}

.article-content > p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-soft);
  margin-bottom: 22px;
}

.article-content strong {
  color: var(--ink);
  font-weight: 700;
}

.article-content h2 {
  font-size: clamp(24px, 3.5vw, 30px);
  font-weight: 600;
  color: var(--ink);
  margin: 52px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--wine);
  margin: 34px 0 14px;
}

.article-blockquote {
  position: relative;
  background: var(--cream-alt);
  border-left: 3px solid var(--wine2);
  border-radius: 0 12px 12px 0;
  padding: 26px 30px;
  margin: 34px 0;
}

.article-blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 10px;
}

.article-blockquote p:last-child {
  margin-bottom: 0;
}

.quote-author {
  display: block;
  font-family: 'PT Sans', sans-serif;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--wine2);
  margin-top: 8px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.article-table th {
  background: var(--wine2);
  color: #f4ece2;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
}

.article-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  line-height: 1.6;
  vertical-align: top;
}

.article-table tbody tr:nth-child(even) td,
.article-table tr:nth-child(even) td {
  background: var(--cream);
}

.article-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-list li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.article-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wine2);
}

/* numbered scenario/practice blocks */
.article-scenario-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 14px;
}

.article-scenario-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--wine2);
  color: #f4ece2;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-scenario-heading h3 {
  margin: 0;
  color: var(--ink);
}

.article-practice,
.article-questions {
  background: var(--cream-alt);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine2);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 20px 0 30px;
}

.article-practice p,
.article-questions p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-soft);
}

.article-practice__label,
.article-questions__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--wine2);
  margin-bottom: 10px;
}

/* CTA + about */
.article-cta {
  background: linear-gradient(165deg, var(--wine), #38101a);
  color: #f0e6da;
  border-radius: var(--radius);
  text-align: center;
  padding: 44px 36px;
  margin: 54px 0 40px;
}

.article-cta h2 {
  color: #f6efe6;
  font-size: clamp(24px, 4vw, 30px);
  margin-bottom: 14px;
}

.article-cta p {
  color: #e0d0c2;
  font-size: 16px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 14px;
}

.article-cta__text {
  color: #cdbaa9;
  font-size: 15px;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 26px;
}

.article-cta .btn {
  background: #f4ece2;
  border-color: #f4ece2;
  color: var(--wine);
}

.article-cta .btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--wine);
}

.article-about {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}

.article-about__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wine2);
  margin-bottom: 12px;
}

.article-about p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ==================================================================
   BOOK PAGE
================================================================== */
.book-hero,
.book-benefits,
.book-preview,
.book-author,
.book-reviews,
.book-bottom {
  padding: 60px 0;
}

.book-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.book-hero__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.book-hero__cover img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 22px 50px rgba(40, 20, 15, 0.28);
}

.book-hero__title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 600;
  color: var(--ink);
  margin: 6px 0 18px;
}

.book-hero__desc {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 20px;
  max-width: 560px;
}

.book-hero__subdesc {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--wine2);
  margin-bottom: 22px;
}

.book-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 620px;
}

.book-link {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text);
}

.book-link:hover {
  border-color: var(--wine2);
  color: var(--text);
  transform: translateY(-1px);
}

.book-link__name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
}

.book-link__sub {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}

.book-link__arrow {
  margin-left: auto;
  font-size: 22px;
  color: var(--wine2);
  line-height: 1;
}

/* benefits */
.book-benefits {
  background: var(--cream-alt);
}

.book-benefits__lead {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 760px;
}

.book-benefits__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  max-width: 820px;
}

.book-benefits__list li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.book-benefits__list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wine2);
}

.book-benefits__bonus {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--wine2);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 820px;
}

/* preview carousel */
.book-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.book-carousel__track-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
}

.book-carousel__track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.book-carousel__slide {
  flex: 0 0 100%;
}

.book-slide-placeholder {
  min-height: 300px;
  background: linear-gradient(160deg, var(--wine), #38101a);
  color: #f4ece2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  position: relative;
}

.book-slide-placeholder span {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  line-height: 1.4;
  max-width: 640px;
}

.book-slide-placeholder::before {
  content: attr(data-label);
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: 'PT Sans', sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(244, 236, 226, 0.55);
}

.book-carousel__btn {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--wine2);
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.book-carousel__btn:hover {
  background: var(--wine2);
  border-color: var(--wine2);
  color: #f4ece2;
}

.book-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.book-carousel__dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.book-carousel__dot.active {
  background: var(--wine2);
  transform: scale(1.25);
}

/* author */
.book-author__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: start;
}

.book-author__photo img,
.book-author__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(40, 20, 15, 0.22);
}

.book-author__content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.book-author__quote {
  background: var(--cream-alt);
  border-left: 3px solid var(--wine2);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin-top: 22px;
}

.book-author__quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 12px;
}

/* reviews */
.book-reviews {
  background: var(--cream-alt);
}

.book-reviews__title {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--ink);
  text-align: center;
  margin-bottom: 34px;
}

.book-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.book-review-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
}

.book-review-card__text {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.book-review-card__author {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.book-review-card__author strong {
  font-size: 15px;
  color: var(--wine2);
}

.book-review-card__author span {
  font-size: 12.5px;
  color: var(--muted);
}

/* bottom video */
.book-bottom__video {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--media-bg);
}

.book-bottom__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==================================================================
   PRIVACY
================================================================== */
.privacy-page {
  background: var(--cream);
  padding: 60px 0 90px;
}

.privacy-page .container {
  max-width: 780px;
}

.privacy-page__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}

.privacy-page__updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 36px;
}

.privacy-section {
  margin-bottom: 30px;
}

.privacy-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--wine);
  margin-bottom: 12px;
}

.privacy-section h3 {
  font-size: 16px;
  color: var(--ink);
  margin: 18px 0 8px;
}

.privacy-section p,
.privacy-section li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.privacy-section ul {
  padding-left: 4px;
}

.privacy-section li {
  position: relative;
  padding-left: 22px;
}

.privacy-section li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine2);
}

.privacy-section a {
  color: var(--wine2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.privacy-table th {
  background: var(--wine2);
  color: #f4ece2;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
}

.privacy-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  vertical-align: top;
}

/* ==================================================================
   FOOTER (rich, dark wine)
================================================================== */
.footer {
  background: #241019;
  color: #cdbfb2;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-top: 54px;
  padding-bottom: 40px;
}

.footer__logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f4ece2;
  margin-bottom: 12px;
}

.footer__brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #a99a8c;
}

.footer__links h4,
.footer__legal h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e6d8ca;
  margin-bottom: 16px;
}

.footer__links li,
.footer__legal li {
  margin-bottom: 10px;
}

.footer__links a,
.footer__legal a {
  font-size: 13.5px;
  color: #b3a496;
}

.footer__links a:hover,
.footer__legal a:hover {
  color: #f4ece2;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #8f8073;
}

/* ==================================================================
   COOKIE BANNER
================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: #1d150f;
  color: #d8cdbe;
  padding: 16px 24px;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.22);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  font-size: 13px;
  line-height: 1.6;
  color: #c8bdae;
}

.cookie-banner__link {
  color: #e2c8a0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__link:hover {
  color: #f4ece2;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 24px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.cookie-banner__btn--accept {
  background: var(--wine2);
  color: #f4ece2;
}

.cookie-banner__btn--accept:hover {
  background: var(--wine-hover);
}

.cookie-banner__btn--decline {
  background: transparent;
  color: #cdbfae;
  border-color: #55493c;
}

.cookie-banner__btn--decline:hover {
  border-color: #877a68;
  color: #f0e6da;
}

/* ==================================================================
   RESPONSIVE
================================================================== */
@media (max-width: 860px) {
  .book-hero__inner,
  .book-author__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .book-hero__cover {
    max-width: 260px;
  }

  .book-reviews__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 620px) {
  .book-links {
    grid-template-columns: 1fr;
  }

  .book-reviews__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .article-table {
    font-size: 13.5px;
  }

  .article-table th,
  .article-table td {
    padding: 10px 12px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }

  .cookie-banner__actions {
    justify-content: center;
  }
}
