/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1a2b4c;
  --navy-mid: #243659;
  --navy-light: #2d4270;
  --accent: #b8955a;
  --accent-light: #d4af72;
  --text: #2c2c2c;
  --text-muted: #5a5a5a;
  --rule: #d8d8d0;
  --bg: #f8f7f4;
  --bg-white: #ffffff;
  --serif: 'Source Serif 4', Georgia, serif;
  --display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }

/* ===== HEADER ===== */
header {
  background: var(--navy);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}

.header-brand img {
  height: 56px;
  width: auto;
  display: block;
  border-radius: 6px;
  overflow: hidden;
}

nav {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

nav a {
  color: rgba(255,255,255,0.72);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

nav .nav-cta {
  background: var(--accent);
  color: #fff;
  margin-left: 0.6rem;
  padding: 0.35rem 0.9rem;
}

nav .nav-cta:hover {
  background: var(--accent-light);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 5rem 2.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,43,76,1) 0%, rgba(45,66,112,0.85) 100%);
  z-index: 0;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero-lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.6rem;
  border-radius: 3px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}

.stat-item { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
  text-transform: uppercase;
}

/* ===== PAGE MAIN ===== */
.page-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION HEADINGS ===== */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-heading {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 4rem 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text p {
  color: var(--text);
  margin-bottom: 1.1rem;
  font-size: 0.97rem;
}

.about-sidebar {
  background: var(--navy);
  color: #fff;
  padding: 1.75rem;
  border-radius: 4px;
}

.about-sidebar h3 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--accent-light);
  margin-bottom: 1.1rem;
}

.timeline-list { list-style: none; }

.timeline-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.84rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

.timeline-list li:last-child { border-bottom: none; }

.timeline-year {
  font-family: var(--display);
  font-weight: 700;
  color: var(--accent-light);
  min-width: 40px;
  flex-shrink: 0;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--rule);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  margin-top: 1.75rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: 1.5rem;
  border-radius: 0 0 4px 4px;
  transition: border-top-color 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  border-top-color: var(--accent);
  box-shadow: 0 4px 18px rgba(26,43,76,0.07);
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-footnote {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ===== WHY US ===== */
.why-section {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--rule);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 2rem;
  margin-top: 2rem;
}

.why-item h4 {
  font-family: var(--display);
  font-size: 0.97rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.why-item p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== LIBRARY ===== */
.library-section {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--rule);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 1.75rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}

.article-item {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: var(--bg-white);
  transition: background 0.15s;
}

.article-item:nth-child(2n) { border-right: none; }
.article-item:nth-last-child(-n+2) { border-bottom: none; }
.article-item:hover { background: #f0f2f7; }

.article-item a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
  line-height: 1.4;
}

.article-item a:hover { color: var(--accent); }

.article-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.library-more {
  margin-top: 1.1rem;
  font-size: 0.875rem;
}

.library-more a {
  color: var(--navy);
  font-weight: 600;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--navy);
  color: #fff;
  padding: 4rem 2.5rem;
  margin: 0 -2rem;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--display);
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-section .cta-lead {
  font-size: 0.93rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.05em;
}

/* ===== PARENT SECTION ===== */
.parent-section {
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  text-align: center;
}

.parent-section p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.parent-section a {
  font-weight: 600;
  color: var(--navy);
}

/* ===== FOOTER ===== */
footer {
  background: #111d30;
  color: rgba(255,255,255,0.4);
  padding: 2.5rem 2rem 1.75rem;
}

.footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.footer-brand img {
  height: 36px;
  width: auto;
  opacity: 0.6;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.footer-brand span {
  font-family: var(--display);
  font-size: 0.97rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
}

.footer-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 360px;
  color: rgba(255,255,255,0.32);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  font-size: 0.78rem;
}

.footer-nav a { color: rgba(255,255,255,0.38); }
.footer-nav a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  max-width: 860px;
  margin: 1.25rem auto 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.73rem;
  color: rgba(255,255,255,0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== RESPONSIVE METRICS ===== */
@media (max-width: 720px) {
  header { padding: 0 1rem; height: auto; min-height: 64px; flex-direction: column; justify-content: center; gap: 0.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .header-brand img { height: 38px; margin: 0 auto; }
  nav { flex-wrap: wrap; justify-content: center; gap: 0.25rem; width: 100%; }
  nav a { font-size: 0.72rem; padding: 0.4rem 0.5rem; }
  nav .nav-cta { margin-left: 0; padding: 0.4rem 0.75rem; }
  .hero { padding: 2.5rem 1.25rem 2rem; }
  .hero-stats { gap: 1.5rem; }
  
  .page-main { padding: 0 1.25rem; }
  .about-section { grid-template-columns: 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .article-item:nth-child(2n) { border-right: none; }
  .article-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .article-item:last-child { border-bottom: none; }
  .cta-section { padding: 2.5rem 1.25rem; margin: 0; border-radius: 4px; }
  
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 1.25rem; }
  .footer-brand { justify-content: center; margin-bottom: 0.4rem; gap: 0.6rem; } /* Explicit flex layout override drops artificial gap width */
  .footer-brand img { height: 36px; margin: 0; } /* Resets auto centered margins which caused layout shifts */
  .footer-brand span { font-size: 0.85rem; }
  .footer-desc { max-width: 100%; font-size: 0.65rem; color: rgba(255,255,255,0.25); }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0.4rem 0.85rem; width: 100%; font-size: 0.70rem; }
  .footer-nav a { padding: 0.2rem 0; color: rgba(255,255,255,0.3); }
  .footer-bottom { justify-content: center; gap: 0.5rem; text-align: center; font-size: 0.65rem; margin-top: 1rem; padding-top: 0.85rem; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}
/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 2rem;
}

.trust-bar-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.trust-bar-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.trust-item {
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--rule);
  border-radius: 20px;
  white-space: nowrap;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy);
  padding: 3rem 2.5rem 2.5rem;
  border-bottom: 3px solid var(--accent);
}

.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

/* ===== CONTENT SECTIONS (inner pages) ===== */
.content-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--rule);
}

.content-section:last-of-type {
  border-bottom: none;
}

.content-section p {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.content-section h2.section-heading {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.content-list li {
  font-size: 0.93rem;
  color: var(--text);
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
  line-height: 1.6;
}

.content-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

.content-list li:last-child {
  border-bottom: none;
}

.service-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.service-list li {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 0.35rem 0 0.35rem 1.1rem;
  position: relative;
  border-bottom: 1px solid var(--rule);
  line-height: 1.5;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.service-list li:last-child {
  border-bottom: none;
}

/* ===== EMAIL HIGHLIGHT (order page) ===== */
.email-highlight {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 4px;
  margin: 2rem 0;
  text-align: center;
}

.email-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important; /* FIXED: Forces high-contrast visibility */
  margin-bottom: 0.5rem;
  display: block;                              /* FIXED: Ensures proper layout separation */
}

.email-address {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
}

.email-address:hover {
  color: #fff;
}

/* ===== FAQ (order page) ===== */
.faq-list {
  margin-top: 1.5rem;
}

.faq-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--rule);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ===== ARTICLE BODY (library articles) ===== */
.article-body {
  padding: 2.5rem 0 3rem;
  max-width: 680px;
}

.article-body p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.article-body h2.section-heading {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.article-body ul.content-list {
  margin-bottom: 1.25rem;
}

.back-link {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--navy);
}

.article-cta {
  margin-top: 3rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-cta a {
  color: var(--navy);
  font-weight: 600;
}

/* ===== CTA SECTION (inner pages) ===== */
.cta-section {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 2.5rem;
  margin: 3rem -2rem 0;
  text-align: center;
  border-radius: 4px;
}

.cta-section h2 {
  font-family: var(--display);
  font-size: 1.65rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.cta-section .cta-lead {
  font-size: 0.93rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-note {
  margin-top: 1.25rem;
  font-size: 0.77rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.05em;
}

@media (max-width: 720px) {
  .page-hero { padding: 2rem 1.25rem 1.75rem; }
  .article-body { max-width: 100%; }
  .cta-section { margin: 2rem 0 0; border-radius: 4px; }
  .trust-items { overflow-x: auto; }
}

/* ===== ALLRUSSIAN SISTER SECTION ===== */
.allrussian-section {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0;
}

.allrussian-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.allrussian-text {
  flex: 1;
  min-width: 260px;
}

.allrussian-text p:not(.section-label) {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.allrussian-cta {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .allrussian-inner { flex-direction: column; align-items: flex-start; }
}
