/* VINDICTA — стилі сайту */

:root {
  --bg: #FAF8F4;
  --text: #1A2430;
  --muted: #47525E;
  --navy: #0D365B;
  --navy-hover: #164a7a;
  --navy-dark: #0A2B49;
  --brass: #B08D57;
  --ivory: #F5F1E8;
  --line: rgba(13, 54, 91, 0.10);
  --line-strong: rgba(13, 54, 91, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Golos Text', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
a:hover { color: var(--brass); }

input::placeholder, textarea::placeholder { color: #9AA3AC; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo-link { display: flex; align-items: center; text-decoration: none; }
.logo-link img { height: 20px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.site-nav a:hover { color: var(--navy); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.btn-primary {
  background: var(--navy);
  color: var(--bg) !important;
  border: none;
}
.btn-primary:hover { background: var(--navy-hover); color: var(--bg); }

.btn-ghost {
  background: transparent;
  color: var(--navy) !important;
  border: 1px solid rgba(13, 54, 91, 0.35);
}
.btn-ghost:hover { border-color: var(--navy); }

.site-nav .btn-primary { font-size: 14px; padding: 10px 18px; }

.mobile-actions { display: none; align-items: center; gap: 8px; }

.icon-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--navy);
}

.burger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.75px;
  background: var(--navy);
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 62px 0 0 0;
  z-index: 49;
  background: var(--bg);
  padding: 24px 24px 40px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-family: Lora, serif;
  font-size: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn-primary {
  margin-top: 24px;
  font-family: 'Golos Text', system-ui, sans-serif;
  font-size: 16px;
  padding: 15px 18px;
  border-radius: 8px;
  border-bottom: none;
  text-align: center;
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(48px, 7vw, 90px);
}

.hero-text { flex: 1 1 460px; min-width: 0; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}

.hero h1 {
  font-family: Lora, serif;
  font-weight: 500;
  font-size: clamp(38px, 6.5vw, 64px);
  line-height: 1.12;
  margin: 0 0 22px;
  color: var(--navy);
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 560px;
  text-wrap: pretty;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { font-size: 16px; padding: 15px 26px; }

.hero-art { flex: 0 1 340px; display: flex; justify-content: center; }

/* ---------- Intro ---------- */

.intro {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px clamp(56px, 8vw, 100px);
}
.intro p {
  font-family: Lora, serif;
  font-size: clamp(19px, 2.6vw, 25px);
  line-height: 1.6;
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Sections ---------- */

.section-title {
  font-family: Lora, serif;
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 44px);
  color: var(--navy);
  margin: 0 0 44px;
}

.services { padding-bottom: clamp(64px, 9vw, 110px); }

.group-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.cards + .group-label { margin-top: 44px; }

.card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 26px;
}
.card img { display: block; margin-bottom: 18px; }
.card h3 {
  font-family: Lora, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 10px;
}
.card p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }

.services-note { font-size: 16px; color: var(--muted); margin: 36px 0 0; }
.services-note a { color: var(--navy); font-weight: 500; }

/* ---------- Process ---------- */

.process { border-top: 1px solid var(--line); }
.process .container { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 32px 28px;
}

.step-num {
  font-family: Lora, serif;
  color: var(--brass);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-num b { font-size: 26px; font-weight: 500; }
.step-num i { flex: 1; height: 1px; background: rgba(13, 54, 91, 0.15); }

.steps h3 {
  font-family: Lora, serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  margin: 0 0 10px;
}
.steps p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Principles ---------- */

.principles { background: var(--navy); }
.principles .container { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.principles .section-title { color: var(--ivory); }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.principle { display: flex; gap: 16px; align-items: flex-start; }
.principle svg { flex-shrink: 0; margin-top: 2px; }
.principle p { font-size: 16px; line-height: 1.6; color: #DCE4EC; margin: 0; }
.principle strong { color: var(--ivory); font-weight: 600; }

.brand-note {
  font-family: Lora, serif;
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.65;
  color: #B9C6D3;
  margin: 52px auto 0;
  max-width: 680px;
  border-top: 1px solid rgba(245, 241, 232, 0.18);
  padding-top: 28px;
}

/* ---------- Contact ---------- */

.contact { padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(64px, 9vw, 110px); }
.contact .section-title { margin-bottom: 14px; }
.contact-lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 44px; max-width: 560px; }

.contact-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  min-height: 44px;
}
.contact-row.top { align-items: flex-start; }
.contact-row.top svg { margin-top: 2px; }
.contact-row svg { flex-shrink: 0; }
.contact-row .phone { font-size: 18px; font-weight: 600; }
.contact-row span { font-size: 17px; line-height: 1.5; }

.messengers { display: flex; gap: 12px; margin-top: 8px; }
.messengers .btn {
  color: var(--navy) !important;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(13, 54, 91, 0.30);
  padding: 11px 18px;
  gap: 10px;
  background: transparent;
}
.messengers .btn:hover { border-color: var(--navy); }

.contact-form-wrap { flex: 1 1 340px; min-width: 0; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 26px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg);
  outline: none;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--navy); }
.contact-form button { margin-top: 6px; font-size: 16px; padding: 14px 26px; }

.form-thanks {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px 28px;
  text-align: center;
}
.form-thanks svg { margin-bottom: 14px; }
.form-thanks .title { font-family: Lora, serif; font-size: 20px; color: var(--navy); margin: 0 0 8px; }
.form-thanks .text { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }

.contact-form-wrap.sent .contact-form { display: none; }
.contact-form-wrap.sent .form-thanks { display: block; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-dark); }
.site-footer .container {
  padding-top: 44px;
  padding-bottom: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand { display: flex; flex-direction: column; gap: 14px; }
.footer-brand img { height: 17px; width: auto; display: block; align-self: flex-start; }
.footer-brand p { font-size: 14px; color: #8FA3B5; margin: 0; }

.footer-contacts { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-contacts .phone { text-decoration: none; color: var(--ivory); font-size: 16px; font-weight: 600; }
.footer-contacts .email { text-decoration: none; color: #B9C6D3; font-size: 15px; }

/* ---------- Mobile sticky bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 48;
  border-top: 1px solid rgba(13, 54, 91, 0.15);
  box-shadow: 0 -4px 16px rgba(13, 54, 91, 0.10);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar .call { background: var(--navy); color: var(--bg); }
.mobile-bar .tg { background: var(--bg); color: var(--navy); }

/* ---------- Mobile ---------- */

@media (max-width: 840px) {
  .site-nav { display: none; }
  .mobile-actions { display: flex; }
  .hero-art { display: none; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 54px; }
}
