/* =====================================================
   STYLE.CSS — стили проекта Golden Hind
   Специфичные для проекта стили + переопределения
   CSS-переменных из base.css. Общий файл для index.html
   и history.html.
   ===================================================== */

/* === FONTS (локальные, без внешних запросов) === */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-accent: #A67C2E;
  --color-accent-hover: #8A6522;
  --color-accent-ink: #7C5A1B;
  --color-accent-ink-hover: #5F450F;
  --color-bg: #F3EEE3;
  --color-bg-alt: #1C1815;
  --color-text: #1C1815;
  --color-text-inverse: #F3EEE3;
  --color-text-muted: #4F463C;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'EB Garamond', serif;
}

/* === EYEBROW + HEADING RHYTHM === */
.eyebrow + h1,
.eyebrow + h2 { margin-top: var(--space-2); }

/* === ROSETTE DIVIDER === */
.rosette-divider {
  display: flex;
  justify-content: center;
  padding: var(--space-3) 0;
}
.rosette-divider img { width: 44px; height: 44px; display: block; }

/* === HEADER === */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 227, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(28, 24, 21, 0.1);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.site-header .brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.site-header nav a {
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: var(--space-4);
  color: var(--color-text-muted);
}
.site-header nav a:hover { color: var(--color-accent-ink); }

@media (max-width: 768px) {
  .site-header .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .site-header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--space-1);
  }
}

@media (max-width: 480px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
  .site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-3);
  }
  .site-header nav a { margin-left: 0; }
}

/* === HERO (index.html) === */
.hero { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.hero h1 { margin-bottom: var(--space-3); }
.hero .lede {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin-bottom: var(--space-4);
}
.hero .cta-row { display: flex; gap: var(--space-2); flex-wrap: wrap; align-items: center; }
.hero .price-tag {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-accent-ink);
}
.hero-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: "1:53 · дерево, перкаль, мрамор";
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  background: rgba(28,24,21,0.75);
  color: var(--color-text-inverse);
  font-size: var(--fs-small);
  padding: var(--space-1) var(--space-2);
  border-radius: 2px;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .hero .container > div:first-child { text-align: center; }
  .hero .lede { max-width: none; }
  .hero .cta-row { justify-content: center; }
}

/* === FEATURES (index.html) === */
.features-head { max-width: 60ch; margin-bottom: var(--space-5); }
@media (max-width: 768px) {
  .features-head { max-width: none; text-align: center; }
}
.feature-card {
  padding: var(--space-3);
  border: 1px solid rgba(28,24,21,0.12);
  border-radius: 3px;
  background: rgba(255,255,255,0.35);
}
.feature-card .num {
  font-family: var(--font-heading);
  color: var(--color-accent-ink);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  margin-bottom: var(--space-1);
}
.feature-card h3 { margin-bottom: var(--space-1); }
.feature-card p { color: var(--color-text-muted); font-size: 0.98rem; }

/* === GALLERY — full-bleed, non-standard section (index.html) === */
.gallery-section { padding: var(--space-6) 0; }
.gallery-head { text-align: center; margin-bottom: var(--space-4); }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 2px;
  width: 100%;
}
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item {
  display: block; width: 100%; height: 100%; padding: 0;
  cursor: zoom-in; position: relative;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(28,24,21,0);
  transition: background-color 0.2s ease;
}
.gallery-item:hover::after { background: rgba(28,24,21,0.15); }
.gallery-strip a:nth-child(1), .gallery-strip .gallery-item:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery-strip a:nth-child(2), .gallery-strip .gallery-item:nth-child(2) { grid-column: span 3; grid-row: span 2; }
.gallery-strip a:nth-child(3), .gallery-strip .gallery-item:nth-child(3) { grid-column: span 2; }
.gallery-strip a:nth-child(4), .gallery-strip .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-strip a:nth-child(5), .gallery-strip .gallery-item:nth-child(5) { grid-column: span 2; }
.gallery-strip a:nth-child(6), .gallery-strip .gallery-item:nth-child(6) { grid-column: span 3; grid-row: span 2; }
.gallery-strip a:nth-child(7), .gallery-strip .gallery-item:nth-child(7) { grid-column: span 3; grid-row: span 2; }
.gallery-strip a:nth-child(8), .gallery-strip .gallery-item:nth-child(8) { grid-column: span 2; }
.gallery-strip a:nth-child(9), .gallery-strip .gallery-item:nth-child(9) { grid-column: span 2; }
.gallery-strip a:nth-child(10), .gallery-strip .gallery-item:nth-child(10){ grid-column: span 2; }

/* === LIGHTBOX (index.html) === */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 12, 10, 0.92);
  align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: min(88vw, 1100px);
  max-height: 82vh;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption {
  position: absolute; bottom: var(--space-4); left: 0; right: 0;
  text-align: center; color: rgba(243,238,227,0.85);
  font-size: 1rem; padding: 0 var(--space-4);
}
.lightbox-close {
  position: absolute; top: var(--space-3); right: var(--space-3);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(243,238,227,0.12); color: var(--color-text-inverse);
  font-size: 1.8rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(243,238,227,0.22); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(243,238,227,0.12); color: var(--color-text-inverse);
  font-size: 2rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { background: rgba(243,238,227,0.22); }
.lightbox-prev { left: var(--space-3); }
.lightbox-next { right: var(--space-3); }
@media (max-width: 768px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lightbox-caption { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .gallery-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-strip a:nth-child(n), .gallery-strip .gallery-item:nth-child(n) { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* === PRICE — dark, typography-heavy, conversion focus (index.html) === */
.price-section { text-align: center; }
.price-section .eyebrow { color: #E6C687; }
.price-section h2 { color: var(--color-text-inverse); margin-bottom: var(--space-3); max-width: 22ch; margin-left: auto; margin-right: auto; }
.price-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.price-note { color: rgba(243,238,227,0.7); max-width: 50ch; margin: 0 auto var(--space-3); }
.price-cta-row { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; }
.btn--outline-inverse { border-color: var(--color-text-inverse); color: var(--color-text-inverse); }
.btn--outline-inverse:hover span { color: var(--color-bg-alt); }
.price-nudge {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-inverse);
  max-width: 42ch;
  margin: 0 auto var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(243,238,227,0.18);
}

/* === FAQ — minimal density (index.html) === */
.faq-section .container { max-width: 780px; }
.faq-section h2 { margin-bottom: var(--space-4); }
.faq-item {
  border-bottom: 1px solid rgba(28,24,21,0.12);
  padding: var(--space-3) 0;
}
.faq-item h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin-bottom: var(--space-1); }
.faq-item p { color: var(--color-text-muted); }
@media (max-width: 768px) {
  .faq-section > .container > .eyebrow,
  .faq-section > .container > h2 { text-align: center; }
}

/* === HERO STORY — split, dominance (history.html) === */
.hero-story { padding-top: var(--space-6); padding-bottom: var(--space-6); }
.hero-story .portrait { border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; }
.hero-story .portrait img { width: 100%; height: 100%; object-fit: cover; }
.hero-story h1 { margin-bottom: var(--space-3); }
.hero-story .lede { color: var(--color-text-muted); font-size: 1.15rem; max-width: 50ch; margin-bottom: var(--space-3); }
.hero-story .dates { font-family: var(--font-heading); font-weight: 600; color: var(--color-accent-ink); font-size: 1.2rem; }
@media (max-width: 768px) {
  .hero-story .container > div:first-child { text-align: center; }
  .hero-story .lede { max-width: none; }
}

/* === JOURNEY — full-bleed map, non-standard section (history.html) === */
.journey-section { position: relative; }
.journey-image { width: 100%; height: 62vh; min-height: 380px; position: relative; overflow: hidden; }
.journey-image img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.25) contrast(1.02); }
.journey-image::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,17,14,0.25) 0%, rgba(20,17,14,0.85) 100%);
}
.journey-caption {
  position: absolute; bottom: var(--space-5); left: 0; right: 0;
  text-align: center; color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-3) 0;
}
.journey-caption .inner {
  display: inline-block;
  background: rgba(20,17,14,0.7);
  backdrop-filter: blur(3px);
  border-radius: 4px;
  padding: var(--space-3) var(--space-4);
  max-width: 34ch;
}
.journey-caption .eyebrow { color: #E6C687; }
.journey-caption h2 { color: var(--color-text-inverse); margin: var(--space-1) 0 0; }

/* === TRANSFORMATION — typography-heavy accent, no imagery (history.html) === */
.transformation { text-align: center; }
.transformation .container { max-width: 820px; }
.transformation .big-line {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.25;
  margin: var(--space-3) 0 var(--space-4);
}
.transformation .big-line em {
  font-style: normal;
  color: var(--color-accent);
}
.transformation .fact-row {
  display: flex; justify-content: center; gap: var(--space-3);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}
.transformation .fact { text-align: center; }
.transformation .fact .num { font-family: var(--font-heading); font-size: 2.4rem; color: var(--color-accent); display:block; }
.transformation .fact .label { font-size: var(--fs-small); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* === PROOF — split with two images, trust/legacy (history.html) === */
.proof-head { text-align: center; max-width: 60ch; margin: 0 auto var(--space-5); }
.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.proof-grid figure { margin: 0; }
.proof-grid img { border-radius: 4px; width: 100%; }
.proof-main img { aspect-ratio: 4/3; object-fit: cover; }
.proof-side img { aspect-ratio: 3/4; object-fit: cover; }
.proof-grid figcaption { font-size: 1rem; line-height: 1.45; color: var(--color-text-muted); margin-top: var(--space-2); }
@media (max-width: 768px) { .proof-grid { grid-template-columns: 1fr; } }

/* === CTA STRIP — full width (index.html + history.html, отличается по цвету) === */
.cta-strip { text-align: center; }
.cta-strip h2 { color: inherit; margin-bottom: var(--space-2); }
.cta-strip p { max-width: 50ch; margin: 0 auto var(--space-4); }

.page-index .cta-strip { background: var(--color-accent-ink); color: var(--color-bg); }
.page-index .cta-strip p { opacity: 0.92; }
.page-index .cta-strip .btn--outline { border-color: var(--color-bg); color: var(--color-bg); }
.page-index .cta-strip .btn--outline:hover { background: var(--color-bg); }
.page-index .cta-strip .btn--outline:hover span { color: var(--color-bg-alt); }

.page-history .cta-strip { background: var(--color-bg-alt); color: var(--color-text-inverse); }
.page-history .cta-strip p { opacity: 0.85; }
.page-history .cta-strip .btn--outline { border-color: var(--color-text-inverse); color: var(--color-text-inverse); }
.page-history .cta-strip .btn--outline:hover { background: var(--color-text-inverse); }
.page-history .cta-strip .btn--outline:hover span { color: var(--color-bg-alt); }

/* === FOOTER === */
footer.site-footer {
  background: var(--color-bg-alt);
  color: rgba(243,238,227,0.6);
  padding: var(--space-4) 0;
  font-size: var(--fs-small);
  text-align: center;
}
footer.site-footer a { color: var(--color-text-inverse); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal, .footer-credit {
  margin: var(--space-2) 0 0;
  font-size: 0.82rem;
  color: rgba(243,238,227,0.62);
}
.footer-credit { margin-top: var(--space-1); }
.footer-credit a { color: rgba(243,238,227,0.82); }

.page-history footer.site-footer { border-top: 1px solid rgba(243,238,227,0.1); }
