/*
Theme Name: Бери Инструмент
Theme URI: https://бери-инструмент-карелия.рф/
Author: SOVED
Description: Прокат инструмента в Петрозаводске
Version: 1.0
Text Domain: beri-instrument
*/

:root {
  --bg: #f5f2ea;
  --text: #1f2428;
  --muted: #667085;
  --dark: #151719;
  --card: #ffffff;
  --accent: #f3b43f;
  --accent2: #2f7d57;
  --line: rgba(31,36,40,.12);
  --radius: 24px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(245,242,234,.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo strong {
  font-size: 24px;
  letter-spacing: -.04em;
}

.logo span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #3f4650;
  font-size: 15px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn.accent {
  background: var(--accent);
  color: #191919;
}

.hero {
  padding: 76px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 34px;
  align-items: stretch;
}

.hero-card {
  min-height: 560px;
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 20%, rgba(243,180,63,.5), transparent 28%),
    linear-gradient(135deg, #22272b, #101214);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  font-size: 14px;
}

h1 {
  margin: 30px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .92;
  letter-spacing: -.07em;
}

.hero-text {
  max-width: 610px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-note {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.note {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}

.note b {
  display: block;
  font-size: 22px;
}

.note span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}

.side-card {
  display: grid;
  gap: 18px;
}

.info-box {
  padding: 28px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: 0 20px 70px rgba(20,25,30,.08);
}

.info-box.dark {
  background: #26352d;
  color: #fff;
}

.info-box h2,
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.05em;
}

.info-box p {
  margin: 0;
  color: var(--muted);
}

.info-box.dark p {
  color: rgba(255,255,255,.74);
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.tool-emoji {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f7e4b5;
  font-size: 28px;
}

.tool-card h3 {
  margin: 18px 0 8px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.tool-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 26px;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step {
  padding: 24px;
  border-radius: var(--radius);
  background: #efe7d8;
}

.step b {
  display: block;
  margin-bottom: 10px;
  font-size: 36px;
  letter-spacing: -.06em;
}

.step p {
  margin: 0;
  color: #4d5560;
}

.contacts {
  padding: 38px;
  border-radius: 34px;
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.contacts p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.7);
}

.footer {
  padding: 32px 0 44px;
  color: var(--muted);
  font-size: 14px;
}

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

  .hero {
    padding-top: 32px;
  }

  .hero-grid,
  .catalog,
  .steps,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
    padding: 28px;
  }

  .hero-note {
    position: static;
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .contacts {
    padding: 28px;
  }
}

/* soved-footer-signature-v1 */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.made-by {
  color: rgba(102,112,133,.82);
  transition: color .2s ease;
}

.made-by span {
  color: #1f2428;
  font-weight: 800;
  letter-spacing: -.03em;
}

.made-by:hover {
  color: #1f2428;
}

@media (max-width: 640px) {
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* soved-beri-instrument-expanded-home-v1 */
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.task-card {
  min-height: 142px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.task-card b {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.task-card span {
  color: var(--muted);
}

.benefit-panel {
  padding: 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 95% 15%, rgba(243,180,63,.34), transparent 30%),
    #26352d;
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  align-items: center;
}

.benefit-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: .98;
  letter-spacing: -.06em;
}

.benefit-panel p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 18px;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list div {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .task-grid,
  .benefit-panel,
  .split {
    grid-template-columns: 1fr;
  }

  .benefit-panel {
    padding: 28px;
  }
}

/* soved-beri-mobile-polish-v1 */
@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 720px);
  }

  .header-inner {
    min-height: 66px;
  }

  .logo strong {
    font-size: 24px;
    letter-spacing: -.05em;
  }

  .logo span {
    font-size: 14px;
  }

  .hero {
    padding: 24px 0 26px;
  }

  .hero-card {
    border-radius: 28px;
    padding: 26px;
  }

  h1 {
    margin: 24px 0 16px;
    font-size: clamp(44px, 15vw, 64px);
    line-height: .9;
  }

  .hero-text {
    font-size: 18px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
  }

  .hero-note {
    gap: 10px;
    margin-top: 26px;
  }

  .note {
    padding: 15px 16px;
    border-radius: 18px;
  }

  .note b {
    font-size: 20px;
  }

  .info-box {
    padding: 24px;
    border-radius: 26px;
  }

  .info-box h2,
  .section h2 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: .95;
  }

  .info-box p,
  .section-head p,
  .benefit-panel p {
    font-size: 17px;
    line-height: 1.48;
  }

  .section {
    padding: 28px 0;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .task-grid {
    gap: 12px;
  }

  .task-card {
    min-height: auto;
    padding: 18px 20px;
    border-radius: 22px;
    gap: 10px;
  }

  .task-card b {
    font-size: 22px;
  }

  .task-card span {
    font-size: 16px;
  }

  .catalog {
    gap: 14px;
  }

  .tool-card {
    padding: 22px;
    border-radius: 24px;
  }

  .tool-emoji {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 25px;
  }

  .tool-card h3 {
    font-size: 28px;
    line-height: 1.05;
    margin: 18px 0 10px;
  }

  .tool-card p {
    font-size: 17px;
    line-height: 1.45;
  }

  .price {
    margin-top: 14px;
    font-size: 24px;
  }

  .price span {
    font-size: 15px;
  }

  .benefit-panel {
    border-radius: 28px;
    padding: 26px;
  }

  .benefit-panel h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .benefit-list {
    gap: 10px;
  }

  .benefit-list div {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 16px;
  }

  .steps {
    gap: 12px;
  }

  .step {
    padding: 22px;
    border-radius: 22px;
  }

  .step b {
    font-size: 48px;
    line-height: .9;
  }

  .step p {
    font-size: 17px;
    line-height: 1.45;
  }

  .split {
    gap: 12px;
  }

  .faq {
    gap: 10px;
  }

  .faq details {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .faq summary {
    font-size: 17px;
  }

  .faq p {
    font-size: 16px;
    line-height: 1.45;
  }

  .contacts {
    border-radius: 28px;
    padding: 26px;
  }

  .contacts h2 {
    font-size: 42px;
  }

  .contacts p {
    font-size: 17px;
  }

  .footer {
    padding: 24px 0 34px;
  }
}

/* soved-beri-mobile-dense-v2 */
@media (max-width: 860px) {
  .header {
    position: static;
  }

  body {
    padding-bottom: 72px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .header-inner {
    min-height: 58px;
  }

  .logo strong {
    font-size: 22px;
  }

  .logo span {
    margin-top: 4px;
    font-size: 13px;
  }

  .hero-card {
    padding: 24px;
    border-radius: 26px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .hero-text {
    font-size: 17px;
  }

  .section {
    padding: 22px 0;
  }

  .info-box h2,
  .section h2 {
    font-size: clamp(30px, 8vw, 38px);
    line-height: 1;
  }

  .section-head p,
  .info-box p,
  .tool-card p,
  .step p,
  .faq p {
    font-size: 16px;
    line-height: 1.42;
  }

  .task-grid {
    gap: 10px;
  }

  .task-card {
    padding: 15px 16px;
    border-radius: 18px;
  }

  .task-card b {
    font-size: 19px;
  }

  .task-card span {
    font-size: 14px;
  }

  .catalog {
    gap: 12px;
  }

  .tool-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    row-gap: 8px;
    padding: 18px;
    border-radius: 20px;
    align-items: start;
  }

  .tool-emoji {
    grid-row: span 3;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 24px;
  }

  .tool-card h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.06;
  }

  .tool-card p {
    margin: 0;
  }

  .price {
    margin-top: 4px;
    font-size: 20px;
  }

  .price span {
    font-size: 13px;
  }

  .benefit-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .benefit-panel h2 {
    font-size: clamp(30px, 8vw, 40px);
  }

  .benefit-panel p {
    font-size: 16px;
  }

  .benefit-list div {
    padding: 12px 14px;
    font-size: 15px;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .step {
    padding: 18px;
    border-radius: 18px;
  }

  .step b {
    font-size: 38px;
  }

  .step p {
    font-size: 15px;
  }

  .split {
    gap: 10px;
  }

  .info-box {
    padding: 20px;
    border-radius: 22px;
  }

  .faq details {
    padding: 14px 16px;
  }

  .faq summary {
    font-size: 16px;
  }

  .contacts {
    padding: 22px;
    border-radius: 24px;
  }

  .contacts h2 {
    font-size: 34px;
  }

  .footer {
    padding-bottom: 56px;
  }
}

@media (max-width: 420px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .tool-card h3 {
    font-size: 22px;
  }
}

/* soved-beri-pages-and-mobile-actions-v1 */
.page-hero {
  padding: 54px 0 20px;
}

.page-card {
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 14%, rgba(243,180,63,.34), transparent 28%),
    #151719;
  color: #fff;
}

.page-card h1 {
  margin-bottom: 0;
}

.page-card p {
  max-width: 740px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 20px;
}

.content-card {
  padding: 38px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  color: #2c333a;
}

.content-card h2 {
  margin: 34px 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -.05em;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #667085;
  font-size: 18px;
  line-height: 1.6;
}

.content-card ul {
  padding-left: 22px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.link-card {
  min-height: 150px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .18s ease, box-shadow .18s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(20,25,30,.08);
}

.link-card b {
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.link-card span {
  color: var(--muted);
}

.mobile-action-bar {
  display: none;
}

@media (max-width: 860px) {
  .page-hero {
    padding: 20px 0 10px;
  }

  .page-card {
    padding: 26px;
    border-radius: 26px;
  }

  .page-card h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .page-card p {
    font-size: 17px;
  }

  .content-card {
    padding: 22px;
    border-radius: 22px;
  }

  .content-card p,
  .content-card li {
    font-size: 16px;
    line-height: 1.5;
  }

  .link-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .link-card {
    min-height: auto;
    padding: 18px;
    border-radius: 18px;
    gap: 10px;
  }

  .link-card b {
    font-size: 21px;
  }

  .mobile-action-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(21,23,25,.88);
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
  }

  .mobile-action-bar a {
    min-height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
  }

  .mobile-action-bar a:first-child {
    background: var(--accent);
    color: #151719;
  }
}

/* soved-beri-dynamic-menu-v1 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  color: #3f4650;
}

.nav-menu li:last-child a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
  }
}

/* soved-beri-tools-cpt-v1 */
.real-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.real-tool-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.real-tool-image {
  height: 190px;
  background:
    radial-gradient(circle at 80% 20%, rgba(243,180,63,.35), transparent 32%),
    #ebe3d3;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.real-tool-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.real-tool-image span {
  font-size: 54px;
}

.real-tool-body {
  padding: 22px;
}

.real-tool-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.tool-category-label,
.tool-status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tool-category-label {
  background: #f2eee4;
  color: #4d5560;
}

.tool-status {
  background: #eef1f4;
  color: #4d5560;
}

.tool-status.status-ok {
  background: rgba(47,125,87,.12);
  color: #2f7d57;
}

.tool-status.status-busy {
  background: rgba(180,75,55,.12);
  color: #a54632;
}

.real-tool-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.real-tool-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.real-tool-meta {
  display: grid;
  gap: 7px;
}

.real-tool-meta b {
  font-size: 24px;
  letter-spacing: -.03em;
}

.real-tool-meta span {
  color: var(--muted);
  font-size: 14px;
}

.catalog-more {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.tool-single-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: stretch;
}

.tool-rent-box {
  padding: 28px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  align-content: center;
}

.tool-rent-price {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.05em;
  font-weight: 900;
}

.tool-rent-line {
  color: var(--muted);
}

.tool-rent-line b {
  color: var(--text);
}

.tool-single-image {
  margin-bottom: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.tool-single-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .real-catalog-grid,
  .tool-single-grid {
    grid-template-columns: 1fr;
  }

  .real-tool-card {
    border-radius: 20px;
  }

  .real-tool-image {
    height: 150px;
  }

  .real-tool-body {
    padding: 18px;
  }

  .real-tool-card h3 {
    font-size: 22px;
  }

  .tool-rent-box {
    border-radius: 24px;
    padding: 22px;
  }
}

/* soved-beri-visual-character-v1 */
:root {
  --bg: #e7dfcf;
  --text: #151719;
  --muted: #5e6670;
  --dark: #111315;
  --card: #fffaf0;
  --accent: #f5b72e;
  --accent2: #315f42;
  --line: rgba(21,23,25,.16);
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(245,183,46,.26), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(49,95,66,.20), transparent 24%),
    linear-gradient(180deg, #ede4d3, #ded4c0);
}

.header {
  background: rgba(231,223,207,.86);
  border-bottom: 2px solid rgba(21,23,25,.12);
}

.logo strong {
  text-transform: uppercase;
}

.hero-card {
  background:
    linear-gradient(135deg, rgba(17,19,21,.95), rgba(17,19,21,.84)),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 12px);
  border: 2px solid rgba(255,255,255,.10);
  box-shadow: 0 28px 90px rgba(17,19,21,.24);
}

.hero-card:before {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,183,46,.55), transparent 62%);
  pointer-events: none;
}

.hero-card:after {
  content: "БЕРИ";
  position: absolute;
  right: -18px;
  top: 108px;
  transform: rotate(90deg);
  font-size: 104px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.055);
  pointer-events: none;
}

.badge {
  background: var(--accent);
  color: #151719;
  border: 2px solid rgba(0,0,0,.16);
  box-shadow: 0 8px 0 rgba(0,0,0,.22);
}

h1 {
  text-transform: uppercase;
  max-width: 820px;
}

.hero-text {
  max-width: 720px;
  font-weight: 600;
}

.btn {
  box-shadow: 0 8px 0 rgba(0,0,0,.22);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover {
  transform: translateY(2px);
  box-shadow: 0 5px 0 rgba(0,0,0,.22);
}

.btn.accent {
  background: var(--accent);
}

.note {
  background: rgba(245,183,46,.12);
  border: 1px solid rgba(245,183,46,.30);
}

.note b {
  color: #fff;
  text-transform: uppercase;
}

.info-box {
  border: 2px solid rgba(21,23,25,.12);
  box-shadow: 12px 12px 0 rgba(21,23,25,.08);
}

.info-box.dark {
  background:
    linear-gradient(135deg, #284934, #17261c);
  border-color: rgba(255,255,255,.10);
}

.section h2,
.info-box h2 {
  text-transform: uppercase;
}

.task-card,
.tool-card,
.link-card,
.real-tool-card,
.faq details,
.step,
.content-card {
  border: 2px solid rgba(21,23,25,.12);
  box-shadow: 8px 8px 0 rgba(21,23,25,.065);
}

.task-card {
  background:
    linear-gradient(180deg, #fff7e6, #f4ead7);
}

.task-card b:before {
  content: "→ ";
  color: var(--accent2);
}

.link-card {
  background:
    linear-gradient(145deg, #fffaf0, #efe4cf);
}

.link-card b {
  text-transform: uppercase;
}

.real-tool-card {
  background: #fffaf0;
}

.real-tool-image {
  background:
    repeating-linear-gradient(-45deg, rgba(21,23,25,.08) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, #e7d7b7, #f6e9ca);
}

.real-tool-image span {
  filter: drop-shadow(0 8px 0 rgba(0,0,0,.13));
}

.tool-status,
.tool-category-label {
  border: 1px solid rgba(21,23,25,.12);
}

.benefit-panel {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, #111315, #263a2c);
  border: 2px solid rgba(255,255,255,.10);
  box-shadow: 12px 12px 0 rgba(21,23,25,.10);
}

.benefit-list div {
  background: rgba(245,183,46,.12);
  border-color: rgba(245,183,46,.26);
}

.step {
  background:
    linear-gradient(180deg, #f5b72e, #e4a51e);
}

.step b {
  color: rgba(21,23,25,.85);
}

.step p {
  color: rgba(21,23,25,.82);
  font-weight: 700;
}

.contacts {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.045) 0 2px, transparent 2px 12px),
    #111315;
  box-shadow: 12px 12px 0 rgba(21,23,25,.12);
}

.footer {
  color: rgba(21,23,25,.65);
}

.made-by span {
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .hero-card:after {
    right: -34px;
    top: 96px;
    font-size: 72px;
  }

  .hero-card {
    box-shadow: 0 18px 60px rgba(17,19,21,.22);
  }

  .info-box,
  .task-card,
  .tool-card,
  .link-card,
  .real-tool-card,
  .faq details,
  .step,
  .content-card,
  .benefit-panel,
  .contacts {
    box-shadow: 5px 5px 0 rgba(21,23,25,.07);
  }

  .badge {
    box-shadow: 0 5px 0 rgba(0,0,0,.18);
  }

  .mobile-action-bar {
    border: 2px solid rgba(255,255,255,.12);
  }
}

/* soved-beri-card-layout-fix-v1 */

/* Шапка не должна перекрывать контент */
.header {
  position: relative !important;
  top: auto !important;
}

/* Убираем нижнюю панель до появления реального телефона / WhatsApp */
.mobile-action-bar {
  display: none !important;
}

/* Популярные ссылки снова делаем карточками */
#popular .link-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

#popular .link-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-height: 150px !important;
  padding: 24px !important;
  border-radius: 24px !important;
  background: linear-gradient(145deg, #fffaf0, #efe4cf) !important;
  border: 2px solid rgba(21,23,25,.12) !important;
  box-shadow: 8px 8px 0 rgba(21,23,25,.065) !important;
  color: var(--text) !important;
}

#popular .link-card b {
  display: block !important;
  font-size: 24px !important;
  line-height: 1.05 !important;
  letter-spacing: -.04em !important;
  text-transform: none !important;
}

#popular .link-card span {
  display: block !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}

/* Реальный каталог: никакой текстовой каши */
.real-catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.real-tool-card {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #fffaf0 !important;
  border: 2px solid rgba(21,23,25,.12) !important;
  box-shadow: 8px 8px 0 rgba(21,23,25,.065) !important;
}

.real-tool-image {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 170px !important;
  background:
    repeating-linear-gradient(-45deg, rgba(21,23,25,.08) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, #e7d7b7, #f6e9ca) !important;
  text-decoration: none !important;
}

.real-tool-image span {
  display: block !important;
  font-size: 52px !important;
}

.real-tool-body {
  display: block !important;
  padding: 20px !important;
}

.real-tool-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 14px !important;
}

.tool-category-label,
.tool-status {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 48% !important;
  padding: 7px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.real-tool-card h3 {
  display: block !important;
  margin: 0 0 10px !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

.real-tool-card h3 a {
  display: inline !important;
  color: var(--text) !important;
}

.real-tool-card p {
  display: block !important;
  margin: 0 0 18px !important;
  color: var(--muted) !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
}

.real-tool-meta {
  display: grid !important;
  gap: 7px !important;
}

.real-tool-meta b {
  display: block !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
}

.real-tool-meta span {
  display: block !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.catalog-more {
  display: flex !important;
  justify-content: center !important;
  margin-top: 24px !important;
}

/* Задачи тоже чуть собираем */
.task-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.task-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

/* Мобильная версия */
@media (max-width: 860px) {
  body {
    padding-bottom: 0 !important;
  }

  .header-inner {
    min-height: 68px !important;
  }

  .hero {
    padding-top: 18px !important;
  }

  .hero-card {
    margin-top: 0 !important;
  }

  #popular .link-grid,
  .real-catalog-grid,
  .task-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #popular .link-card {
    min-height: auto !important;
    padding: 18px !important;
    border-radius: 20px !important;
    box-shadow: 5px 5px 0 rgba(21,23,25,.07) !important;
  }

  #popular .link-card b {
    font-size: 21px !important;
  }

  #popular .link-card span {
    font-size: 15px !important;
  }

  .real-tool-card {
    display: grid !important;
    grid-template-columns: 72px 1fr !important;
    gap: 0 !important;
    border-radius: 20px !important;
    box-shadow: 5px 5px 0 rgba(21,23,25,.07) !important;
  }

  .real-tool-image {
    height: 100% !important;
    min-height: 170px !important;
  }

  .real-tool-image span {
    font-size: 34px !important;
  }

  .real-tool-body {
    padding: 16px !important;
  }

  .real-tool-top {
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    margin-bottom: 10px !important;
  }

  .tool-category-label,
  .tool-status {
    max-width: none !important;
    font-size: 11px !important;
  }

  .real-tool-card h3 {
    font-size: 21px !important;
  }

  .real-tool-card p {
    font-size: 15px !important;
    margin-bottom: 14px !important;
  }

  .real-tool-meta b {
    font-size: 20px !important;
  }

  .real-tool-meta span {
    font-size: 13px !important;
  }

  .catalog-more .btn {
    width: 100% !important;
  }

  .task-card {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .task-card b {
    font-size: 20px !important;
  }

  .task-card span {
    font-size: 15px !important;
  }
}
