/* =========================================================
   Invest Watch — Fintech review template
   Modular, clean, easy to clone for other brands
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --color-accent: #dc2626;
  --color-accent-hover: #b91c1c;
  --color-positive: #16a34a;
  --color-positive-soft: #dcfce7;
  --color-warn: #d97706;
  --color-warn-soft: #fef3c7;

  /* Neutrals */
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-text-soft: #4b5563;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-bg-soft: #f3f4f6;
  --color-border: #e5e7eb;
  --color-border-strong: #d1d5db;

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .04), 0 1px 3px rgba(17, 24, 39, .04);
  --shadow-md: 0 4px 8px -2px rgba(17, 24, 39, .04), 0 8px 24px -4px rgba(17, 24, 39, .06);
  --shadow-lg: 0 12px 28px -8px rgba(17, 24, 39, .08), 0 24px 48px -16px rgba(17, 24, 39, .08);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Container */
  --container: 1180px;
  --container-pad: 24px;
  --header-h: 72px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--color-accent); }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

ul, ol { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

/* ---------- 3. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.text-accent { color: var(--color-accent); }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .95); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.01em;
}
.logo-mark { display: inline-flex; }
.logo-text-accent { color: var(--color-accent); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-weight: 500;
  color: var(--color-text-soft);
  font-size: .95rem;
  position: relative;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.main-nav a:hover { color: var(--color-text); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Lang select */
.lang-select { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  font-size: .85rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: background .2s ease;
}
.lang-btn:hover { background: var(--color-border); }
.flag-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--color-text);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
}
.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--color-text-soft);
  cursor: pointer;
}
.lang-menu li:hover { background: var(--color-bg-soft); color: var(--color-text); }
.lang-select.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--color-bg-soft);
  padding: 0 9px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1;
  transition: transform .15s ease, background .15s ease, box-shadow .2s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(220, 38, 38, .55);
}
.btn-primary:hover { background: var(--color-accent-hover); color: #fff; box-shadow: 0 10px 24px -8px rgba(220, 38, 38, .6); }

.btn-ghost {
  background: var(--color-bg-soft);
  color: var(--color-text);
}
.btn-ghost:hover { background: var(--color-border); color: var(--color-text); }

.btn-block { width: 100%; }

.btn-sm {
  padding: 8px 16px;
  font-size: .85rem;
}

/* ---------- 6. Hero ---------- */
.hero {
  padding: 60px 0 72px;
  background:
    radial-gradient(1200px 500px at 80% -10%, #fef2f2 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg-alt) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: .85rem;
  color: var(--color-text-muted);
}
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .current { color: var(--color-text); font-weight: 500; }

.hero-text h1 { margin-bottom: 18px; }
.hero-sub {
  font-size: 1.125rem;
  color: var(--color-text-soft);
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--color-text-soft);
  font-weight: 500;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-text-muted); }
.dot-green { background: var(--color-positive); }
.dot-gray  { background: #9ca3af; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Trust score card */
.trust-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.trust-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.trust-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
}
.trust-source { font-size: .75rem; color: var(--color-text-muted); }

.trust-score-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px auto 8px;
  width: 180px;
  height: 180px;
}
.trust-ring { position: absolute; inset: 0; }
.trust-ring-progress { transition: stroke-dashoffset 1.6s cubic-bezier(.22, 1, .36, 1); }
.trust-score-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trust-score-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.trust-score-out {
  font-size: .85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 12px auto 18px;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .8rem;
  background: var(--color-warn-soft);
  color: var(--color-warn);
  width: fit-content;
}
.trust-card .trust-badge { display: flex; }

.trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
}
.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--color-text-soft);
}
.check, .warn {
  flex: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.check { background: var(--color-positive-soft); }
.check::after {
  content: '';
  width: 8px; height: 4px;
  border-left: 2px solid var(--color-positive);
  border-bottom: 2px solid var(--color-positive);
  transform: rotate(-45deg) translate(1px, -1px);
}
.warn { background: var(--color-warn-soft); }
.warn::after {
  content: '!';
  font-size: .65rem;
  font-weight: 800;
  color: var(--color-warn);
  line-height: 1;
}

.trust-disclaimer {
  margin: 12px 0 0;
  text-align: center;
  font-size: .72rem;
  color: var(--color-text-muted);
}

/* ---------- 7. Author block ---------- */
.author-block { padding: 48px 0; }
.author-card {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  align-items: flex-start;
}
.author-avatar {
  flex: none;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow-sm);
}
.author-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.author-name { margin: 0; font-size: 1.1rem; }
.author-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .75rem;
  color: var(--color-positive);
  font-weight: 600;
}
.author-role { margin: 0 0 2px; color: var(--color-text-soft); font-size: .9rem; }
.author-role span { color: var(--color-text); font-weight: 600; }
.author-meta { margin: 0 0 12px; font-size: .8rem; color: var(--color-text-muted); }
.author-intro {
  margin: 0;
  color: var(--color-text-soft);
  font-size: .95rem;
  max-width: 720px;
}

/* ---------- 8. Pros / Cons ---------- */
.proscons { padding: 24px 0 56px; }
.proscons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.pc-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.pc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pc-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.pc-card h3 { margin: 0; }
.pc-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pc-icon-pos { background: var(--color-positive-soft); }
.pc-icon-neg { background: #fee2e2; }

.pc-card ul { display: flex; flex-direction: column; gap: 12px; }
.pc-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--color-text-soft);
  line-height: 1.45;
}
.bullet {
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bullet-pos { background: var(--color-positive-soft); }
.bullet-pos::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid var(--color-positive);
  border-bottom: 2px solid var(--color-positive);
  transform: rotate(-45deg) translate(1px, -1px);
}
.bullet-neg { background: #fee2e2; position: relative; }
.bullet-neg::before, .bullet-neg::after {
  content: '';
  position: absolute;
  width: 10px; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.bullet-neg::before { transform: rotate(45deg); }
.bullet-neg::after  { transform: rotate(-45deg); }

/* ---------- 9. Analysis article ---------- */
.analysis { padding: 56px 0; background: var(--color-bg-alt); }
.analysis-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.toc-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}
.toc ol { list-style: decimal inside; display: flex; flex-direction: column; gap: 8px; }
.toc a {
  font-size: .88rem;
  color: var(--color-text-soft);
}
.toc a:hover { color: var(--color-accent); }

.article {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  max-width: 760px;
}
.article h2 {
  margin: 36px 0 14px;
  color: var(--color-text);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.article h2:first-child { margin-top: 0; }
.article p { line-height: 1.75; }
.article a:not(.btn) { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.article strong { color: var(--color-text); }

.article blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--color-accent);
  background: #fff;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem;
  color: var(--color-text);
  font-style: italic;
  box-shadow: var(--shadow-sm);
}
.article blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: .85rem;
  font-style: normal;
  color: var(--color-text-muted);
  font-weight: 500;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: .95rem;
}
.data-table th, .data-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table th {
  background: var(--color-bg-soft);
  font-weight: 600;
  color: var(--color-text);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.data-table td { color: var(--color-text-soft); }
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag-ok   { background: var(--color-positive-soft); color: var(--color-positive); }
.tag-warn { background: var(--color-warn-soft); color: var(--color-warn); }
.tag-bad  { background: #fee2e2; color: var(--color-accent); }

/* ---------- 10. Section heads ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head.left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-text-soft);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.section-head h2 { margin-bottom: 10px; }
.section-sub { color: var(--color-text-muted); font-size: 1rem; margin: 0; }

/* ---------- 11. Safety cards ---------- */
.safety { padding: 72px 0; }
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.safety-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.safety-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}
.safety-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.icon-green   { background: var(--color-positive-soft); color: var(--color-positive); }
.icon-amber   { background: var(--color-warn-soft);     color: var(--color-warn); }
.icon-red     { background: #fee2e2;                    color: var(--color-accent); }
.icon-neutral { background: var(--color-bg-soft);       color: var(--color-text); }
.safety-card h3 { margin: 0 0 6px; }
.safety-card p {
  font-size: .9rem;
  color: var(--color-text-soft);
  margin: 0 0 14px;
  line-height: 1.55;
}
.status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.status-ok      { background: var(--color-positive-soft); color: var(--color-positive); }
.status-warn    { background: var(--color-warn-soft);     color: var(--color-warn); }
.status-bad     { background: #fee2e2;                    color: var(--color-accent); }
.status-neutral { background: var(--color-bg-soft);       color: var(--color-text-soft); }

/* ---------- 12. Reviews ---------- */
.reviews { padding: 72px 0; background: var(--color-bg-alt); }

.reviews-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.rs-score { text-align: center; }
.rs-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.rs-stars {
  display: inline-flex;
  gap: 2px;
  margin: 8px 0 4px;
}
.star {
  display: inline-block;
  width: 16px; height: 16px;
  background: #d1d5db;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3 7 7 .5-5.5 4.7L18 22l-6-3.8L6 22l1.5-7.8L2 9.5 9 9z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2l3 7 7 .5-5.5 4.7L18 22l-6-3.8L6 22l1.5-7.8L2 9.5 9 9z'/></svg>") center/contain no-repeat;
}
.star.full { background: #f59e0b; }
.star.half { background: linear-gradient(90deg, #f59e0b 50%, #d1d5db 50%); }
.rs-count { display: block; font-size: .8rem; color: var(--color-text-muted); }

.rs-bars { display: flex; flex-direction: column; gap: 8px; }
.rs-row {
  display: grid;
  grid-template-columns: 30px 1fr 40px;
  gap: 12px;
  align-items: center;
  font-size: .85rem;
  color: var(--color-text-soft);
}
.bar {
  height: 8px;
  background: var(--color-bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.bar > div {
  height: 100%;
  background: linear-gradient(90deg, #16a34a, #65a30d);
  border-radius: 999px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.review-card header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.avatar {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--c1, #cbd5e1), var(--c2, #475569));
}
.rev-name { margin: 0; font-weight: 600; font-size: .92rem; }
.rev-meta { margin: 0; font-size: .75rem; color: var(--color-text-muted); }
.verified-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 600;
  background: var(--color-positive-soft);
  color: var(--color-positive);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rev-stars {
  font-size: .9rem;
  color: #f59e0b;
  letter-spacing: 1px;
}
.rev-stars .dim { color: #d1d5db; }
.review-card p {
  margin: 0;
  font-size: .92rem;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.reviews-cta { text-align: center; margin-top: 32px; }

/* ---------- 13. FAQ ---------- */
.faq { padding: 72px 0; }
.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--color-text); box-shadow: var(--shadow-sm); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  position: relative;
  transition: transform .25s ease, background .2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform .25s ease;
}
.faq-icon::before { width: 10px; height: 2px; top: 11px; left: 7px; }
.faq-icon::after  { width: 2px; height: 10px; top: 7px; left: 11px; }

.faq-item[open] .faq-icon { background: var(--color-accent); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); }

.faq-answer {
  padding: 0 22px 20px;
  color: var(--color-text-soft);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }

/* ---------- 14. Footer ---------- */
.site-footer {
  background: #0b0f1a;
  color: #cbd5e1;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-light { color: #fff; }
.footer-brand .logo-text-accent { color: var(--color-accent); }
.footer-desc {
  margin: 16px 0;
  font-size: .9rem;
  color: #94a3b8;
  max-width: 360px;
  line-height: 1.65;
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: background .2s ease, color .2s ease;
}
.footer-socials a:hover { background: var(--color-accent); color: #fff; }

.footer-col h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: .9rem;
  color: #94a3b8;
}
.footer-col a:hover { color: #fff; }

.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(255, 255, 255, .02);
  padding: 24px 0;
  font-size: .82rem;
  color: #94a3b8;
  line-height: 1.6;
}
.footer-disclaimer strong { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
  font-size: .8rem;
  color: #64748b;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { margin: 0; }

/* ---------- 15. Multi-page reusable blocks ---------- */

/* Active nav link */
.main-nav a.active { color: var(--color-text); font-weight: 600; }
.main-nav a.active::after { transform: scaleX(1); background: var(--color-accent); }

/* Compact page header (для inner pages) */
.page-header {
  padding: 56px 0 48px;
  background:
    radial-gradient(900px 400px at 80% -10%, #fef2f2 0%, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--color-bg-alt) 100%);
  border-bottom: 1px solid var(--color-border);
}
.page-header h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
  max-width: 820px;
}
.page-header .page-sub {
  font-size: 1.05rem;
  color: var(--color-text-soft);
  max-width: 720px;
  margin: 0 0 22px;
}
.page-header .hero-meta { margin-bottom: 0; }

/* Generic content section spacing */
.section { padding: 64px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-tight { padding: 40px 0; }

/* Filter tabs (отзывы) */
.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 28px;
}
.filters-row .filter-tabs { margin: 0; }

.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 28px;
  padding: 6px;
  background: var(--color-bg-soft);
  border-radius: 999px;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.filter-tab:hover { color: var(--color-text); }
.filter-tab.is-active {
  background: #fff;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.filter-count {
  display: inline-block;
  margin-left: 6px;
  font-size: .72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.filter-tab.is-active .filter-count { color: var(--color-text-soft); }

.no-results {
  margin: 24px 0;
  padding: 32px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  color: var(--color-text-muted);
  font-size: .95rem;
}

/* CTA block (тёмная панель в конце страниц) */
.cta-section { padding: 64px 0; }
.cta-block {
  position: relative;
  text-align: center;
  padding: 56px 32px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(220, 38, 38, .35), transparent 70%);
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  inset: auto auto -40% -10%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(22, 163, 74, .18), transparent 70%);
  pointer-events: none;
}
.cta-block h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 10px; position: relative; }
.cta-block p { color: #cbd5e1; max-width: 560px; margin: 0 auto 24px; position: relative; }
.cta-block .cta-actions {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.cta-block .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; }
.cta-block .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Method / process grid (Как мы проверяем) */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.method-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.method-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.method-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--color-bg-soft);
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1rem;
  margin-bottom: 12px;
}
.method-card h3 { margin: 0 0 6px; font-size: 1rem; }
.method-card p { margin: 0; font-size: .9rem; color: var(--color-text-soft); line-height: 1.6; }

/* Page-with-trust-score layout (scam-czy-legit) */
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.split-grid .article { max-width: none; }

/* Stat tiles (вывод средств / безопасность) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.stat-tile {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.stat-tile .stat-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}
.stat-tile .stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat-tile .stat-help { font-size: .8rem; color: var(--color-text-muted); margin: 0; }

/* Inline alert / note */
.note {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--color-bg-soft);
  border-left: 4px solid var(--color-text);
  margin: 22px 0;
}
.note-warn   { background: var(--color-warn-soft);     border-left-color: var(--color-warn); }
.note-info   { background: #eff6ff;                    border-left-color: #2563eb; }
.note-danger { background: #fee2e2;                    border-left-color: var(--color-accent); }
.note p { margin: 0; font-size: .95rem; color: var(--color-text-soft); line-height: 1.6; }
.note strong { color: var(--color-text); }

/* Generic prose page (privacy / terms) */
.prose-page { padding: 48px 0 80px; }
.prose-content { max-width: 760px; }
.prose-content h2 { margin: 32px 0 12px; color: var(--color-text); }
.prose-content h2:first-child { margin-top: 0; }
.prose-content h3 { margin: 22px 0 10px; font-size: 1.05rem; }
.prose-content p, .prose-content ul, .prose-content ol {
  color: var(--color-text-soft);
  line-height: 1.75;
  font-size: 1rem;
}
.prose-content ul, .prose-content ol { padding-left: 1.5em; margin: 0 0 1rem; }
.prose-content ul { list-style: disc; }
.prose-content ol { list-style: decimal; }
.prose-content li { margin-bottom: .35em; }
.prose-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 2px; }
.prose-meta { font-size: .85rem; color: var(--color-text-muted); margin-bottom: 24px; }

/* Trust card variant — стоит отдельно (used outside hero) */
.trust-card.standalone { max-width: 380px; margin: 0 auto; }

/* ---------- 15b. Review pages (Otzovik-style long reviews) ---------- */

.review-page-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.review-author-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.review-author-card .author-avatar {
  width: 88px; height: 88px;
  margin: 0 auto 14px;
  border: 4px solid #fff;
  font-size: 1.7rem;
  background: linear-gradient(135deg, var(--c1, #cbd5e1), var(--c2, #475569));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.review-author-card .author-name { margin: 0 0 4px; font-size: 1.05rem; }
.review-author-card .author-city {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}
.review-rating-large {
  font-size: 1.4rem;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 4px;
  line-height: 1;
}
.review-rating-large .dim { color: #d1d5db; }
.review-rating-value {
  font-size: .8rem;
  color: var(--color-text-soft);
  font-weight: 500;
  margin-bottom: 16px;
}
.review-author-facts {
  text-align: left;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.review-author-fact {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  gap: 12px;
  align-items: baseline;
}
.review-author-fact span:first-child { color: var(--color-text-muted); }
.review-author-fact span:last-child {
  color: var(--color-text);
  font-weight: 600;
  text-align: right;
}

.review-content {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.review-toc-card {
  margin: 0 0 28px;
  padding: 18px 20px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
}
.review-toc-card .toc-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-text-muted);
  margin: 0 0 10px;
}
.review-toc-card ol {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: decimal inside;
  padding: 0;
}
.review-toc-card a { font-size: .88rem; color: var(--color-text-soft); }
.review-toc-card a:hover { color: var(--color-accent); }

.review-content h2 {
  margin: 32px 0 12px;
  font-size: 1.35rem;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.review-content h2:first-of-type { margin-top: 0; }
.review-content p {
  font-size: 1rem;
  color: var(--color-text-soft);
  line-height: 1.78;
  margin: 0 0 1rem;
}
.review-content strong { color: var(--color-text); }

.review-content blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1rem;
  color: var(--color-text);
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
}

.review-lede {
  font-size: 1.05rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.7;
  padding: 18px 22px;
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  border-radius: var(--radius-md);
  margin: 0 0 28px;
  border-left: 4px solid var(--color-accent);
}

/* "Result" placeholder block */
.result-block {
  margin: 28px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f0fdf4, #ecfccb);
  border: 1px dashed #86efac;
  border-radius: var(--radius-md);
  text-align: center;
}
.result-block-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-positive);
  margin: 0 0 8px;
}
.result-block-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -.02em;
  margin: 0 0 4px;
}
.result-block-help { font-size: .85rem; color: var(--color-text-soft); margin: 0; }

/* Like / dislike grid */
.like-dislike-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.like-dislike-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.like-dislike-card.liked     { background: #f0fdf4; border-color: #bbf7d0; }
.like-dislike-card.concerned { background: #fef9c3; border-color: #fde68a; }
.like-dislike-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 1rem;
}
.like-dislike-card.liked h3     { color: var(--color-positive); }
.like-dislike-card.concerned h3 { color: #a16207; }
.like-dislike-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.like-dislike-card li {
  font-size: .92rem;
  color: var(--color-text-soft);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}
.like-dislike-card.liked li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-positive);
  font-weight: 800;
}
.like-dislike-card.concerned li::before {
  content: '!';
  position: absolute;
  left: 4px;
  color: #a16207;
  font-weight: 800;
}

/* Mini CTA inside review article */
.review-cta-mini {
  position: relative;
  margin: 32px 0 0;
  padding: 28px;
  text-align: center;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.review-cta-mini::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(220,38,38,.3), transparent 70%);
  pointer-events: none;
}
.review-cta-mini h3 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 1.15rem;
  position: relative;
}
.review-cta-mini p {
  color: #cbd5e1;
  margin: 0 0 16px;
  font-size: .9rem;
  position: relative;
}
.review-cta-mini .cta-actions {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.review-cta-mini .btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; }
.review-cta-mini .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Similar reviews block */
.similar-reviews { padding: 64px 0; background: var(--color-bg-alt); }
.similar-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.similar-review-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
  color: inherit;
}
.similar-review-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.similar-review-card .avatar {
  width: 40px; height: 40px;
  font-size: .85rem;
  margin-bottom: 10px;
}
.similar-review-card .name {
  font-weight: 600;
  font-size: .92rem;
  margin: 0 0 4px;
  color: var(--color-text);
}
.similar-review-card .stars {
  font-size: .85rem;
  color: #f59e0b;
  letter-spacing: 1px;
  margin: 0 0 8px;
}
.similar-review-card .stars .dim { color: #d1d5db; }
.similar-review-card .preview {
  font-size: .85rem;
  color: var(--color-text-soft);
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.similar-review-card .read-more {
  margin-top: auto;
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* "Читать полный отзыв" button on hub cards */
.btn-read-full {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-text);
  font-size: .82rem;
  font-weight: 600;
  align-self: flex-start;
  transition: background .2s ease, color .2s ease;
  text-decoration: none;
}
.btn-read-full:hover { background: var(--color-accent); color: #fff; }
.btn-read-full svg { transition: transform .2s ease; }
.btn-read-full:hover svg { transform: translateX(2px); }

/* ---------- 16. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .analysis-grid { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: relative; top: 0; }
  .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; gap: 32px; }
  .review-page-grid { grid-template-columns: 1fr; gap: 24px; }
  .review-author-card { position: relative; top: 0; }
  .like-dislike-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --container-pad: 18px; --header-h: 64px; }

  .header-inner {
    height: auto;
    min-height: var(--header-h);
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 10px 0 8px;
  }
  .header-right { margin-left: auto; }
  .menu-toggle { display: none; }

  .main-nav {
    order: 3;
    flex: 0 0 100%;
    margin: 2px calc(var(--container-pad) * -1) 0;
    padding: 0 calc(var(--container-pad) + 10px) 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav ul {
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
    width: max-content;
    min-width: 100%;
  }
  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    white-space: nowrap;
  }
  .main-nav a::after { bottom: -7px; }

  .lang-label { display: none; }

  .hero { padding: 40px 0 48px; }

  .proscons-grid { grid-template-columns: 1fr; }

  .author-card { flex-direction: column; align-items: flex-start; padding: 22px; }

  .safety-grid { grid-template-columns: 1fr; }

  .reviews-summary { grid-template-columns: 1fr; gap: 20px; }
  .reviews-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .data-table { font-size: .85rem; }
  .data-table th, .data-table td { padding: 10px 12px; }

  .page-header { padding: 36px 0 32px; }
  .cta-block { padding: 36px 22px; }
  .filter-tabs { display: flex; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; }
  .filter-tab { white-space: nowrap; }
  .review-content { padding: 24px; }
  .review-lede { font-size: 1rem; padding: 16px 18px; }
  .result-block-value { font-size: 1.35rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .breadcrumb { font-size: .8rem; flex-wrap: wrap; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.contact-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-card p {
  margin: 0 0 14px;
  color: var(--color-text-soft);
  font-size: .95rem;
}
.contact-link {
  display: inline-block;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-strong);
  padding-bottom: 2px;
  word-break: break-all;
}
.contact-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.contact-note {
  margin: 12px 0 0 !important;
  font-size: .82rem !important;
  color: var(--color-text-muted) !important;
}

/* Contact form */
.contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { margin-bottom: 18px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}
.form-field .req { color: var(--color-accent); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-text-muted); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--color-text-soft);
  margin: 4px 0 22px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}
.form-check a { color: var(--color-accent); }
.form-check a:hover { text-decoration: underline; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-actions .btn-primary svg { transition: transform .2s ease; }
.form-actions .btn-primary:hover svg { transform: translateX(2px); }
.form-hint {
  font-size: .82rem;
  color: var(--color-text-muted);
  margin: 0;
}
.form-status {
  margin: 18px 0 0;
  font-size: .92rem;
  color: var(--color-positive);
  min-height: 1.4em;
}
.form-status.is-error { color: var(--color-accent); }

/* Star rating input (review form) */
.rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 2px;
}
.rating-input input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rating-input label {
  font-size: 2rem;
  line-height: 1;
  color: #e5e7eb;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
  user-select: none;
}
.rating-input label:hover { transform: scale(1.05); }
.rating-input input[type="radio"]:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: #f59e0b;
}
.rating-input input[type="radio"]:focus-visible + label {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Success block after form submit */
.form-success {
  background: var(--color-positive-soft);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin-top: 28px;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-positive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px -4px rgba(22, 163, 74, .35);
}
.form-success h3 {
  color: var(--color-positive);
  margin-bottom: 6px;
}
.form-success p {
  color: var(--color-text-soft);
  margin: 0;
}

/* Editorial info section */
.editorial-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  padding: 32px 0 8px;
}
.editorial-block h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.editorial-block p {
  margin: 0 0 8px;
  color: var(--color-text-soft);
  font-size: .95rem;
}
.editorial-block .editorial-meta {
  font-size: .85rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}
.editorial-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.editorial-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: var(--color-text);
  font-weight: 500;
}
.editorial-socials a:hover { color: var(--color-accent); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .editorial-info { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
  .editorial-info { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}

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