:root {
    --white: #ffffff; --off-white: #f8f7f4; --light-gray: #f0eeea; --border: #e2ddd6;
    --text-primary: #1a1714; --text-secondary: #4a4540; --text-muted: #8a837a;
    --accent: #c0392b; --accent-light: #e8d5d3; --accent-dark: #96231c;
    --blue: #2c4a7c; --blue-light: #e8edf5; --blue-dark: #1e3561;
    --green: #2d6a4f; --green-light: #e8f0ec;
    --gold: #b8860b; --gold-light: #f5edd8;
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'Source Sans 3', sans-serif; background: var(--white); color: var(--text-primary); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

  header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; height: 64px; box-shadow: var(--shadow-sm); }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
  .logo-icon { width: 36px; height: 36px; background: var(--accent); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; color: white; font-size: 18px; }
  .logo-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px; letter-spacing: -0.3px; }
  .logo-text span { color: var(--accent); }
nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}
.nav-right { display: flex; align-items: center; gap: 16px; }
  
  nav a { text-decoration: none; color: var(--text-secondary); font-size: 14px; font-weight: 500; letter-spacing: 0.3px; transition: color 0.2s; position: relative; }
  nav a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.25s; }
  nav a:hover { color: var(--accent); }
  nav a:hover::after { width: 100%; }
  .nav-cta { background: var(--accent); color: white !important; padding: 8px 20px; border-radius: 4px; transition: background 0.2s !important; }
  .nav-cta::after { display: none !important; }
  .nav-cta:hover { background: var(--accent-dark) !important; }

.nav-contacts {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.2;
  text-align: right;
}

.nav-contacts a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-contacts a:hover {
  color: var(--accent);
}

  .topics-bar { background: var(--text-primary); padding: 0 40px; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
  .topics-bar::-webkit-scrollbar { display: none; }
  .topics-bar a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 13px; font-weight: 500; padding: 14px 20px; white-space: nowrap; border-right: 1px solid rgba(255,255,255,0.1); transition: color 0.2s, background 0.2s; }
  .topics-bar a:hover { color: white; background: rgba(255,255,255,0.07); }
  .topics-bar a.active { color: white; background: rgba(255,255,255,0.1); }

  .breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 12px 40px; }
  .breadcrumb-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
  .breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
  .breadcrumb a:hover { color: var(--accent); }
  .breadcrumb-sep { color: var(--border); }
  .breadcrumb-current { color: var(--text-secondary); font-weight: 500; }

  .page-hero { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 64px 40px 0; overflow: hidden; }
  .page-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: end; }
  .page-hero-content { padding-bottom: 64px; }
  .hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 20px; }
  .hero-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--blue); }
  .page-hero h1 { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 700; line-height: 1.15; letter-spacing: -1px; color: var(--text-primary); margin-bottom: 20px; }
  .page-hero h1 em { font-style: italic; color: var(--blue); }
  .page-hero-lead { font-family: 'Libre Baskerville', serif; font-size: 17px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 32px; }
  .hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
  .btn-primary { background: var(--blue); color: white; padding: 14px 32px; border-radius: 4px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background 0.2s, transform 0.2s; display: inline-block; }
  .btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
  .btn-secondary { color: var(--text-secondary); padding: 14px 0; text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 1.5px solid var(--border); transition: color 0.2s, border-color 0.2s; }
  .btn-secondary:hover { color: var(--blue); border-color: var(--blue); }

  .page-hero-photo { position: relative; align-self: end; height: 420px; border-radius: 12px 12px 0 0; overflow: hidden; }
  .page-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  .photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,20,0.4) 0%, transparent 60%); }
  .photo-badge { position: absolute; bottom: 20px; left: 20px; background: white; border-radius: 8px; padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; }
  .photo-badge-icon { width: 36px; height: 36px; background: var(--blue-light); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
  .photo-badge-text { font-size: 12px; line-height: 1.4; }
  .photo-badge-text strong { display: block; font-weight: 700; font-size: 13px; }

  .section-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .section-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
  .section-tag::before, .section-tag::after { content: ''; width: 16px; height: 1px; background: var(--blue); opacity: 0.5; }
  .section-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.25; margin-bottom: 16px; }

  .main-section { padding: 72px 0; }
  .content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
  .content-text h2 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; line-height: 1.25; letter-spacing: -0.4px; margin-bottom: 20px; color: var(--text-primary); }
  .content-text p { font-family: 'Libre Baskerville', serif; font-size: 15.5px; line-height: 1.85; color: var(--text-secondary); margin-bottom: 20px; }
  .content-text p strong { color: var(--text-primary); font-weight: 700; }

  .consequences { background: var(--off-white); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 0 8px 8px 0; padding: 24px 28px; margin-top: 28px; }
  .consequences-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
  .consequences-list { list-style: none; }
  .consequences-list li { font-size: 14px; color: var(--text-secondary); padding: 7px 0 7px 18px; border-bottom: 1px solid var(--border); position: relative; line-height: 1.5; }
  .consequences-list li:last-child { border-bottom: none; }
  .consequences-list li::before { content: '!'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 13px; }

  .services-section { padding: 72px 0; background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .services-header { margin-bottom: 48px; }
  .service-items { display: flex; flex-direction: column; }
  .service-item { display: grid; grid-template-columns: 64px 1fr; border-bottom: 1px solid var(--border); transition: background 0.2s; }
  .service-item:first-child { border-top: 1px solid var(--border); }
  .service-item:hover { background: var(--white); }
  .service-item-num { padding: 32px 0; display: flex; align-items: flex-start; justify-content: center; font-family: 'Playfair Display', serif; font-size: 13px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.5px; border-right: 1px solid var(--border); }
  .service-item-body { padding: 28px 32px; }
  .service-item-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; line-height: 1.3; }
  .service-item-desc { font-size: 14px; line-height: 1.7; color: var(--text-secondary); }
  .service-item-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
  .tag { font-size: 11px; font-weight: 600; letter-spacing: 0.5px; padding: 4px 10px; border-radius: 20px; background: var(--light-gray); color: var(--text-muted); text-transform: uppercase; }
  .service-item--highlight { background: #f0f3f9; }
  .service-item--highlight:hover { background: #e8edf5; }
  .service-item--highlight .service-item-title { color: var(--blue); }
  .service-item--highlight .service-item-num { color: var(--blue); border-right-color: #c8d4e8; }
  .service-item--highlight .tag { background: var(--blue-light); color: var(--blue); }

  .risks-section { padding: 72px 0; border-bottom: 1px solid var(--border); }
  .risks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
  .risk-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 10px; padding: 28px; border-top: 3px solid var(--blue); transition: box-shadow 0.25s, transform 0.25s; }
  .risk-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
  .risk-card-icon { font-size: 26px; margin-bottom: 16px; }
  .risk-card h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary); }
  .risk-card p { font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); }

  .sidebar-card { background: var(--off-white); border: 1px solid var(--border); border-radius: 10px; padding: 28px; margin-bottom: 24px; }
  .sidebar-card h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
  .sidebar-link-list { list-style: none; }
  .sidebar-link-list li { border-bottom: 1px solid var(--border); }
  .sidebar-link-list li:last-child { border-bottom: none; }
  .sidebar-link-list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; text-decoration: none; color: var(--text-secondary); font-size: 14px; transition: color 0.2s; }
  .sidebar-link-list a:hover { color: var(--blue); }
  .sidebar-link-list a::after { content: '›'; font-size: 18px; color: var(--border); }
  .sidebar-link-list a:hover::after { color: var(--blue); }

  .sidebar-stat-card { background: var(--text-primary); border-radius: 10px; padding: 28px; margin-bottom: 24px; }
  .sidebar-stat { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .sidebar-stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
  .sidebar-stat-num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: white; line-height: 1; }
  .sidebar-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 4px; line-height: 1.4; }

  .sidebar-cta { background: var(--blue); border-radius: 10px; padding: 28px; margin-bottom: 24px; }
  .sidebar-cta h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: white; margin-bottom: 10px; }
  .sidebar-cta p { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 16px; line-height: 1.5; }
  .sidebar-cta .btn-white-sm { display: block; text-align: center; background: white; color: var(--blue); padding: 12px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 14px; transition: transform 0.2s; }
  .sidebar-cta .btn-white-sm:hover { transform: translateY(-1px); }

  .cta-band { background: var(--blue); padding: 64px 40px; text-align: center; }
  .cta-band h2 { font-family: 'Playfair Display', serif; font-size: 34px; font-weight: 700; color: white; margin-bottom: 12px; }
  .cta-band p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; font-family: 'Libre Baskerville', serif; font-style: italic; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cta-actions { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
  .btn-white { background: white; color: var(--blue); padding: 14px 36px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 15px; transition: transform 0.2s, box-shadow 0.2s; display: inline-block; }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
  .btn-ghost { color: white; padding: 14px 0; text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 1.5px solid rgba(255,255,255,0.4); transition: border-color 0.2s; }
  .btn-ghost:hover { border-color: white; }

  footer { background: #111; color: rgba(255,255,255,0.6); padding: 56px 40px 32px; }
  .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 280px 1fr 1fr; gap: 48px; margin-bottom: 48px; }
  .footer-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: white; margin-bottom: 12px; }
  .footer-logo span { color: #e8a89e; }
  .footer-tagline { font-size: 13px; line-height: 1.6; margin-bottom: 20px; }
  .footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: white; margin-bottom: 20px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.2s; }
  .footer-col a:hover { color: white; }
  .footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; font-size: 12px; }

  .fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
  .fade-in.visible { opacity: 1; transform: translateY(0); }

  @media (max-width: 900px) {
    header { padding: 0 16px; height: 56px; }
    nav, .nav-right { display: flex !important; align-items: center; }
    .nav-contacts { display: none !important; }
    .nav-right { gap: 0; justify-content: flex-end; }
    .nav-cta { padding: 8px 16px; font-size: 14px; white-space: nowrap; }
    .page-hero-inner { grid-template-columns: 1fr; }
    .page-hero-photo { height: 280px; border-radius: 12px; margin-bottom: 40px; order: -1; }
    .page-hero { padding: 40px 20px 40px; }
    .page-hero-content { padding-bottom: 0; }
    .page-hero h1 { font-size: 30px; }
    .content-grid { grid-template-columns: 1fr; }
    .risks-grid { grid-template-columns: 1fr; }
    .section-wrap { padding: 0 20px; }
    .breadcrumb { padding: 12px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .topics-bar { padding: 0 20px; }
  }
/* ── POPUP ── */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: calc(100% - 32px);
  max-width: 420px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  box-sizing: border-box;
}

.popup h3 {
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

.popup p {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.popup input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
}

.popup-close:hover {
  color: var(--text-primary);
}
