:root {
  --ink: #261b25;
  --plum: #40243b;
  --plum-2: #6d425f;
  --coral: #d76f60;
  --coral-dark: #b95046;
  --ivory: #fbf7f0;
  --paper: #fffdf9;
  --sand: #e9ded1;
  --muted: #70666d;
  --line: rgba(64, 36, 59, .14);
  --shadow: 0 24px 64px rgba(50, 31, 45, .12);
  --radius: 28px;
  --content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font: 16px/1.7 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(215, 111, 96, .5); outline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--paper); border-radius: 12px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 240, .9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 34px rgba(49, 31, 45, .07); }
.nav-shell { width: min(calc(100% - 40px), var(--content)); height: 82px; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: var(--plum); color: #fff; font: italic 700 23px/1 Georgia, serif; }
.brand-name { font: 700 18px/1 "Segoe UI", sans-serif; letter-spacing: .12em; }
.brand-name b { color: var(--coral-dark); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #4f414b; font-size: 14px; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--coral-dark); }
.header-cta { padding: 11px 18px; border: 1px solid var(--plum); border-radius: 999px; }
.header-cta:hover { background: var(--plum); color: #fff !important; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero { min-height: 720px; display: grid; align-items: center; background: linear-gradient(90deg, rgba(251,247,240,.98) 0%, rgba(251,247,240,.94) 29%, rgba(251,247,240,.25) 59%, rgba(251,247,240,.05) 100%), url('/images/izmena-hero.webp') center/cover no-repeat; }
.hero-inner, .section-inner, .article-shell { width: min(calc(100% - 40px), var(--content)); margin: auto; }
.hero-copy { max-width: 620px; padding: 92px 0 108px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--coral-dark); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(48px, 6vw, 84px); }
h1 em { color: var(--coral-dark); font-weight: inherit; }
h2 { margin-bottom: 20px; font-size: clamp(36px, 4.5vw, 58px); }
h3 { margin-bottom: 12px; font-size: 26px; }
.hero-lead { max-width: 570px; margin: 0 0 34px; color: #544851; font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 14px 30px rgba(64, 36, 59, .18); }
.btn-primary:hover { background: #2f192c; }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.5); }
.btn-secondary:hover { background: #fff; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 38px; padding: 0; list-style: none; color: #62575f; font-size: 13px; }
.trust-row li::before { content: "✓"; margin-right: 7px; color: var(--coral-dark); font-weight: 900; }

.section { padding: 112px 0; }
.section-paper { background: var(--paper); }
.section-plum { background: var(--plum); color: #fff; }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; align-items: end; margin-bottom: 54px; }
.section-heading p { max-width: 640px; margin: 0 0 8px; color: var(--muted); font-size: 18px; }
.section-plum .section-heading p { color: rgba(255,255,255,.7); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55); }
.card-index { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px; border-radius: 50%; background: #f1e5dc; color: var(--coral-dark); font: 700 15px Georgia, serif; }
.card p { margin: 0; color: var(--muted); }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.16); }
.principle { padding: 40px; background: var(--plum); }
.principle small { color: #eaa497; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.principle p { margin: 12px 0 0; color: rgba(255,255,255,.72); }
.quote-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.quote-card { padding: 46px; border-left: 4px solid var(--coral); border-radius: 0 var(--radius) var(--radius) 0; background: #f2e8df; }
.quote-card blockquote { margin: 0; font: 400 clamp(28px, 3vw, 42px)/1.28 Georgia, serif; }
.quote-card p { margin: 24px 0 0; color: var(--muted); }
.text-link { color: var(--coral-dark); font-weight: 800; text-underline-offset: 5px; }
.article-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { min-height: 310px; padding: 34px; display: flex; flex-direction: column; border-radius: var(--radius); background: #efe4db; text-decoration: none; transition: transform .2s; }
.article-card:nth-child(2) { background: #ead9d9; }
.article-card:nth-child(3) { background: #e5dfeb; }
.article-card:hover { transform: translateY(-5px); }
.article-card small { color: var(--coral-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.article-card h3 { margin-top: auto; font-size: 32px; }
.article-card span { font-weight: 700; }
.cta-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; padding: 54px; border-radius: 36px; background: var(--plum); color: #fff; box-shadow: var(--shadow); }
.cta-panel p { max-width: 650px; margin: 0; color: rgba(255,255,255,.72); }
.cta-panel .button-row { justify-content: flex-end; }
.cta-panel .btn-primary { background: var(--coral); }

.page-hero { padding: 98px 0 74px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 0%, rgba(215,111,96,.15), transparent 32%), var(--paper); }
.page-hero .article-shell { max-width: 980px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { text-underline-offset: 3px; }
.page-hero h1 { max-width: 940px; margin-bottom: 24px; font-size: clamp(46px, 6vw, 76px); }
.page-intro { max-width: 780px; margin: 0; color: #5f525b; font-size: 20px; line-height: 1.65; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 270px; gap: 78px; align-items: start; padding: 80px 0 112px; }
.prose { font-size: 17px; }
.prose h2 { margin: 64px 0 20px; font-size: clamp(32px, 4vw, 46px); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 36px 0 12px; }
.prose p { margin: 0 0 22px; }
.prose ul, .prose ol { margin: 0 0 26px; padding-left: 24px; }
.prose li { margin-bottom: 10px; }
.lead-note, .safety-note { margin: 36px 0; padding: 28px 30px; border-radius: 22px; }
.lead-note { background: #efe4db; }
.safety-note { border: 1px solid rgba(215,111,96,.35); background: #fff8f4; }
.lead-note strong, .safety-note strong { display: block; margin-bottom: 7px; color: var(--plum); }
.article-aside { position: sticky; top: 112px; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.article-aside b { display: block; margin-bottom: 14px; font-family: Georgia, serif; font-size: 20px; }
.article-aside a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; text-decoration: none; }
.article-aside a:hover { color: var(--coral-dark); }
.article-aside .btn { margin-top: 22px; color: #fff; }
.steps { counter-reset: step; display: grid; gap: 18px; margin: 34px 0; }
.step { position: relative; padding: 28px 28px 28px 82px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 26px; top: 27px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 800; }
.step h3 { margin: 0 0 8px; font-size: 23px; }
.step p { margin: 0; color: var(--muted); }
.faq { margin-top: 58px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 22px 34px 22px 0; font-weight: 750; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--coral-dark); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 28px 22px 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 32px 0; }
.contact-card { padding: 30px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.contact-card small { display: block; color: var(--muted); }
.contact-card a { color: var(--coral-dark); font-size: 20px; font-weight: 800; }

.site-footer { padding: 68px 0 34px; background: #21181f; color: #fff; }
.footer-inner { width: min(calc(100% - 40px), var(--content)); margin: auto; }
.footer-top { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 62px; padding-bottom: 50px; }
.footer-note { max-width: 440px; margin-top: 20px; color: rgba(255,255,255,.6); }
.footer-title { margin-bottom: 16px; color: #e8aaa0; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: 12px; }

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 82px 0 auto; display: none; padding: 26px 20px 34px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 18px; font-size: 16px; }
  .header-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: 650px; background-position: 64% center; }
  .hero::before { content: ""; position: absolute; inset: 82px 0 0; background: rgba(251,247,240,.22); }
  .hero-inner { position: relative; }
  .section-heading, .quote-block, .cta-panel, .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .cta-panel .button-row { justify-content: flex-start; }
}

@media (max-width: 700px) {
  .nav-shell, .hero-inner, .section-inner, .article-shell, .footer-inner { width: min(calc(100% - 28px), var(--content)); }
  .nav-shell { height: 72px; }
  .site-nav { top: 72px; }
  .brand-name { font-size: 16px; }
  .section { padding: 78px 0; }
  .hero { min-height: auto; background-position: 69% center; }
  .hero-copy { padding: 86px 0; }
  .hero-copy h1 { font-size: 48px; }
  .card-grid, .article-cards, .principle-grid, .contact-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 68px 0 52px; }
  .page-hero h1 { font-size: 44px; }
  .article-layout { padding: 58px 0 80px; }
  .prose { font-size: 16px; }
  .quote-card, .cta-panel, .card, .principle { padding: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
