/* Mirastudio — единый CSS для всех страниц.
   Палитра, типографика, layout. Mobile-first. */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAF7F2;
  --bg-card: #FFFFFF;
  --bg-soft: #F2EDE5;
  --text: #2A2620;
  --text-soft: #4A453E;
  --text-mute: #6B6660;
  --accent: #A0463B;
  --accent-soft: #C26A5F;
  --border: #EDE6DC;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(42, 38, 32, 0.06);
  --shadow-md: 0 4px 12px rgba(42, 38, 32, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.7; }

/* ───── Layout ───── */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 56px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

@media (min-width: 768px) {
  .container { padding: 0 32px; }
  section { padding: 80px 0; }
}

/* ───── Header / Nav ───── */

header.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: rgba(250, 247, 242, 0.92);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-header .logo {
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}

.site-header nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
}
.site-header nav a {
  color: var(--text-soft);
}

@media (max-width: 480px) {
  .site-header nav { display: none; }
}

/* ───── Typography ───── */

h1, h2, h3, h4 {
  margin: 0 0 16px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: 28px; margin-top: 0; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

@media (min-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
}

p { margin: 0 0 16px; color: var(--text-soft); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 24px; margin: 0 0 16px; color: var(--text-soft); }
li { margin-bottom: 8px; }

strong { color: var(--text); font-weight: 600; }

/* ───── Hero ───── */

.hero {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-photo {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--bg-soft);
  background-image: url('photo-miroslava.jpg');
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-size: 13px;
}
.hero h1 { margin-bottom: 8px; }
.hero .role {
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 24px;
  font-weight: 500;
}
.hero p { font-size: 17px; }

@media (min-width: 768px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .hero-photo { flex-shrink: 0; max-width: 240px; margin: 0; }
}

/* ───── Badge & CTA ───── */

.badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--text);
  opacity: 1;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
}
.btn-secondary:hover {
  background: var(--text);
  color: white;
  opacity: 1;
}
.btn-sub {
  font-size: 13px;
  color: var(--text-mute);
  display: block;
  margin-top: 10px;
}

/* ───── Hours block ───── */

.hours {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 24px;
}
.hours h3 { margin-bottom: 12px; font-size: 17px; }
.hours p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.8; }

/* ───── Cards: pricing, FAQ, cases, reviews ───── */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .cards.cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards.cards-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pricing-card .price {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.pricing-card .name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}
.pricing-card .desc {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0;
}

/* ───── Steps (numbered list) ───── */

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  padding: 16px 0 16px 56px;
  position: relative;
  border-top: 1px solid var(--border);
  margin: 0;
}
.steps li:first-child { border-top: none; padding-top: 0; }
.steps li:first-child::before { top: -4px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
}

/* ───── Review block (text reviews) ───── */

.review {
  background: var(--bg-card);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
}
.review .who {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--text);
}
.review p { margin: 0; font-style: italic; color: var(--text-soft); font-size: 15px; }

/* ───── Screenshots grid ───── */

.screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.screenshots img,
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-mute);
  text-align: center;
}

/* ───── FAQ ───── */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .answer {
  padding-bottom: 20px;
  color: var(--text-soft);
}
.faq-item:last-child { border-bottom: none; }

/* ───── Crisis box ───── */

.crisis {
  background: #FFF7F4;
  border: 1px solid #E8C5B8;
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
}
.crisis h3 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 17px;
}
.crisis p, .crisis ul { color: var(--text-soft); font-size: 15px; }
.crisis ul { margin: 0; padding-left: 20px; }

/* ───── Blog ───── */

.blog-list { list-style: none; padding: 0; }
.blog-list li {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.blog-list li:first-child { border-top: none; padding-top: 0; }
.blog-list .date {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.blog-list a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}
.blog-list a:hover { color: var(--accent); opacity: 1; }

.post-body {
  font-size: 17px;
  line-height: 1.7;
}
.post-body h2 {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.post-body p { margin-bottom: 20px; }
.post-meta {
  color: var(--text-mute);
  font-size: 14px;
  margin-bottom: 24px;
}
.post-footer {
  padding-top: 32px;
  margin-top: 56px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-mute);
  font-style: italic;
}
.post-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

/* ───── Legal docs (offer, privacy) ───── */

.legal {
  padding: 56px 0;
}
.legal h1 { margin-bottom: 8px; }
.legal .doc-meta {
  font-size: 14px;
  color: var(--text-mute);
  margin-bottom: 48px;
}
.legal h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 16px;
}
.legal h3 {
  font-size: 18px;
  margin-top: 28px;
}
.legal p, .legal li { font-size: 16px; }

/* ───── Methods ───── */

.methods { padding-left: 0; list-style: none; }
.methods li {
  padding: 16px 0 16px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.methods li:last-child { border-bottom: none; }
.methods li::before {
  content: '◇';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 18px;
}

/* ───── Footer ───── */

footer.site-footer {
  background: var(--bg-soft);
  padding: 48px 0;
  font-size: 14px;
  color: var(--text-mute);
  margin-top: 64px;
}
footer.site-footer .container { text-align: center; }
footer.site-footer .reqs {
  margin-bottom: 24px;
  line-height: 1.8;
}
footer.site-footer .reqs strong { color: var(--text); }
footer.site-footer .nav-links {
  margin-bottom: 24px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
footer.site-footer .disclaimer {
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  max-width: 540px;
  margin: 0 auto;
}

/* ───── Tables (pricing alternative) ───── */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  background: var(--bg-soft);
  font-weight: 600;
}

/* ───── Utilities ───── */

.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
