/* ================================================================
   avtorem7.ru — main stylesheet
   Pallete: --bg #f9f7f4 | --fg #1f1c18 | --primary #c0392b
   Fonts: Oswald (headings) + Inter (body)
   ================================================================ */

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

/* ----------------------------------------------------------------
   CSS Custom Properties
   ---------------------------------------------------------------- */
:root {
  --bg:          #f9f7f4;
  --bg-muted:    #f2f0ec;
  --fg:          #1f1c18;
  --fg-muted:    #7a7570;
  --border:      #e0dcd6;
  --primary:     #c0392b;
  --primary-fg:  #ffffff;
  --dark-bg:     #1f1c18;
  --dark-fg:     #f9f7f4;

  --font-body:    'Inter', sans-serif;
  --font-heading: 'Oswald', sans-serif;

  --max-w: 1200px;
  --px: 1.5rem;
  --radius: 3px;
}

/* ----------------------------------------------------------------
   Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ----------------------------------------------------------------
   Typography helpers
   ---------------------------------------------------------------- */
.h-font { font-family: var(--font-heading); }

.section-tag {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .75rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.15;
}

/* ----------------------------------------------------------------
   Layout utilities
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.divider { height: 1px; background: var(--border); }

/* ----------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: opacity .15s, background .15s;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover { opacity: .88; }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--fg);
}
.btn-outline:hover { background: var(--bg-muted); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(249,247,244,.4);
  color: var(--dark-fg);
}
.btn-outline-light:hover { background: rgba(249,247,244,.1); }

.btn-inverse {
  background: var(--dark-fg);
  color: var(--primary);
  font-weight: 700;
}
.btn-inverse:hover { opacity: .88; }

.btn-lg { padding: .875rem 2rem; font-size: 1rem; }

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 1.5rem;
}

/* Logo */
.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  flex-shrink: 0;
  color: var(--fg);
}
.logo span { color: var(--primary); }

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.site-nav__link {
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg-muted);
  transition: color .15s;
}
.site-nav__link:hover,
.site-nav__link.active { color: var(--fg); }

/* Dropdown */
.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-btn {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--fg-muted);
  background: none;
  border: none;
  padding: 0;
  transition: color .15s;
  cursor: pointer;
}
.site-nav__dropdown-btn:hover { color: var(--fg); }

.site-nav__dropdown-btn svg {
  transition: transform .2s;
  width: 14px; height: 14px;
}
.site-nav__dropdown.open .site-nav__dropdown-btn svg {
  transform: rotate(180deg);
}

.site-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 200;
  padding: .25rem 0;
}
.site-nav__dropdown.open .site-nav__dropdown-menu { display: block; }

.site-nav__dropdown-menu a {
  display: block;
  padding: .55rem 1rem;
  font-size: .875rem;
  color: var(--fg);
  transition: background .12s;
}
.site-nav__dropdown-menu a:hover { background: var(--bg-muted); }

.dropdown-all-link {
  font-size: .6875rem !important;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted) !important;
  padding-bottom: .4rem !important;
}
.dropdown-separator {
  height: 1px;
  background: var(--border);
  margin: .25rem 1rem .5rem;
}

/* Header phone */
.header-phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--fg);
  flex-shrink: 0;
  transition: color .15s;
}
.header-phone:hover { color: var(--primary); }
.header-phone svg { width: 16px; height: 16px; }

/* Burger */
.burger {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  margin-right: -.5rem;
  color: var(--fg);
}
.burger svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }

.mobile-menu__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.mobile-menu__item svg { width: 16px; height: 16px; transition: transform .2s; }
.mobile-menu__item.open svg { transform: rotate(180deg); }

.mobile-menu__sub {
  display: none;
  flex-direction: column;
  padding: .5rem 0 .75rem 1rem;
  gap: .125rem;
}
.mobile-menu__sub.open { display: flex; }

.mobile-menu__sub a {
  padding: .5rem 0;
  font-size: .9rem;
  color: var(--fg-muted);
  transition: color .12s;
}
.mobile-menu__sub a.sub-all { color: var(--primary); font-weight: 600; }
.mobile-menu__sub a:hover { color: var(--fg); }

.mobile-menu__phone {
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: var(--primary);
}
.mobile-menu__phone svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-fg);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.footer-brand__logo span { color: var(--primary); }

.footer-brand__desc {
  font-size: .875rem;
  color: rgba(249,247,244,.55);
  line-height: 1.65;
  max-width: 320px;
}

.footer-brand__phone {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  transition: opacity .15s;
}
.footer-brand__phone:hover { opacity: .8; }

.footer-nav__title {
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(249,247,244,.35);
  margin-bottom: 1rem;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }

.footer-nav a {
  font-size: .875rem;
  color: rgba(249,247,244,.55);
  transition: color .15s;
}
.footer-nav a:hover { color: var(--dark-fg); }

.footer-info p {
  font-size: .875rem;
  color: rgba(249,247,244,.55);
  line-height: 1.65;
}
.footer-info strong { color: var(--dark-fg); }

.site-footer__bottom {
  border-top: 1px solid rgba(249,247,244,.1);
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__bottom p,
.site-footer__bottom a {
  font-size: .75rem;
  color: rgba(249,247,244,.35);
}
.site-footer__bottom a:hover { color: rgba(249,247,244,.55); }

/* ----------------------------------------------------------------
   HERO (Home)
   ---------------------------------------------------------------- */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero__inner { padding-block: 5rem 4.5rem; }

@media (min-width: 768px) { .hero__inner { padding-block: 7rem 6rem; } }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(192,57,43,.1);
  color: var(--primary);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem .875rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}
.hero__badge svg { width: 14px; height: 14px; }

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  max-width: 700px;
}
.hero__title span { color: var(--primary); }

.hero__sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Stats strip */
.hero-stats {
  background: var(--dark-bg);
  color: var(--dark-fg);
  border-top: 1px solid var(--border);
}

.hero-stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-block: 1.5rem;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .hero-stats__grid { grid-template-columns: repeat(4, 1fr); gap: 0; }
}

.hero-stats__item {
  padding-inline: 2rem;
}
.hero-stats__item:first-child { padding-left: 0; }
.hero-stats__item:last-child  { padding-right: 0; }

@media (min-width: 640px) {
  .hero-stats__item + .hero-stats__item { border-left: 1px solid rgba(249,247,244,.15); }
}

.hero-stats__value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stats__label { font-size: .875rem; color: rgba(249,247,244,.55); }

/* ----------------------------------------------------------------
   SERVICES GRID (Home)
   ---------------------------------------------------------------- */
.services-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.section-header { margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 4vw, 3rem); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  outline: 1px solid var(--border);
}

@media (min-width: 560px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: background .15s;
}
.service-card:hover { background: var(--bg-muted); }

.service-card__icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius);
  background: rgba(192,57,43,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background .15s;
}
.service-card:hover .service-card__icon { background: rgba(192,57,43,.18); }
.service-card__icon svg { width: 18px; height: 18px; color: var(--primary); }

.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card__list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.service-card__list li {
  font-size: .875rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.service-card__list li::before {
  content: '—';
  color: rgba(192,57,43,.5);
  font-size: .75rem;
  flex-shrink: 0;
}

/* ----------------------------------------------------------------
   PRICES (Home)
   ---------------------------------------------------------------- */
.prices-section {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.prices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .prices-grid { grid-template-columns: repeat(2, 1fr); } }

.price-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.price-block__head {
  padding: .875rem 1.5rem;
  background: var(--dark-bg);
}
.price-block__head span {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--dark-fg);
}

.price-block table { width: 100%; border-collapse: collapse; }
.price-block tr + tr { border-top: 1px solid var(--border); }
.price-block td { padding: 1rem 1.5rem; font-size: .875rem; }
.price-block td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.prices-note { margin-top: 1.25rem; font-size: .75rem; color: var(--fg-muted); }

/* ----------------------------------------------------------------
   ABOUT (Home)
   ---------------------------------------------------------------- */
.about-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
}
@media (min-width: 960px) { .about-grid { grid-template-columns: repeat(2, 1fr); } }

.about-text p {
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.advantages-list { list-style: none; display: flex; flex-direction: column; }
.advantages-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  line-height: 1.55;
}
.advantages-list li:last-child { border-bottom: none; }
.advantages-list li svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }

.reviews-header { margin-top: 4rem; margin-bottom: 2rem; }
.reviews-header h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }

.review-card {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.review-card__text {
  font-size: .875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.review-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.review-card__author { font-size: .875rem; font-weight: 600; }
.review-card__date { font-size: .75rem; color: var(--fg-muted); }

/* ----------------------------------------------------------------
   CONTACTS (Home)
   ---------------------------------------------------------------- */
.contacts-section {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

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

.contact-items { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item__icon {
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius);
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon svg { width: 16px; height: 16px; color: #fff; }
.contact-item__label {
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--fg-muted);
  margin-bottom: .2rem;
}
.contact-item__value { font-size: .9rem; font-weight: 600; }
.contact-item__value a { transition: color .15s; }
.contact-item__value a:hover { color: var(--primary); }

.map-placeholder {
  margin-top: 1.5rem;
  height: 12rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--fg-muted);
}
.map-placeholder svg { width: 32px; height: 32px; color: var(--primary); }
.map-placeholder p { font-size: .875rem; font-weight: 600; color: var(--fg); }
.map-placeholder span { font-size: .75rem; }

/* Contact form */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-form-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .6875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  color: var(--fg-muted);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .65rem 1rem;
  font-size: .875rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,.15);
}
.form-group textarea { resize: vertical; min-height: 7rem; }

.form-privacy {
  font-size: .75rem;
  color: var(--fg-muted);
  text-align: center;
  margin-top: .75rem;
}
.form-privacy a { text-decoration: underline; }
.form-privacy a:hover { color: var(--fg); }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 2rem;
  gap: 1rem;
}
.form-success svg { width: 40px; height: 40px; color: var(--primary); }
.form-success h3 { font-size: 1.5rem; }
.form-success p { font-size: .875rem; color: var(--fg-muted); }

/* ----------------------------------------------------------------
   BREADCRUMB
   ---------------------------------------------------------------- */
.breadcrumb {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-block: .75rem;
  font-size: .875rem;
  color: var(--fg-muted);
  flex-wrap: wrap;
}
.breadcrumb__inner a { transition: color .15s; }
.breadcrumb__inner a:hover { color: var(--fg); }
.breadcrumb__inner span { color: var(--fg); font-weight: 500; }
.breadcrumb__sep { color: var(--border); }

/* ----------------------------------------------------------------
   PAGE HERO (inner pages)
   ---------------------------------------------------------------- */
.page-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero__inner { padding-block: 3.5rem 3rem; }
@media (min-width: 768px) { .page-hero__inner { padding-block: 5rem 4.5rem; } }

.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.page-hero__icon {
  width: 3rem; height: 3rem;
  border-radius: var(--radius);
  background: rgba(192,57,43,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.page-hero__icon svg { width: 24px; height: 24px; color: var(--primary); }

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  max-width: 700px;
  margin-bottom: 1rem;
}
.page-hero__desc {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; }

/* Badges bar */
.badges-bar {
  background: var(--dark-bg);
  color: var(--dark-fg);
  border-bottom: 1px solid rgba(249,247,244,.08);
}
.badges-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-block: 1rem;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(249,247,244,.75);
}
.badge-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ----------------------------------------------------------------
   PRICE TABLE (Service page)
   ---------------------------------------------------------------- */
.price-table-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.price-table {
  border: 1px solid var(--border);
  width: 100%;
  border-collapse: collapse;
}
.price-table tr:nth-child(even) { background: var(--bg-muted); }
.price-table tr { border-bottom: 1px solid var(--border); }
.price-table tr:last-child { border-bottom: none; }
.price-table td { padding: 1rem 1.5rem; font-size: .9375rem; }
.price-table td:last-child {
  text-align: right;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.price-table-note { margin-top: 1rem; font-size: .75rem; color: var(--fg-muted); }

/* ----------------------------------------------------------------
   INCLUDED GRID (Service page)
   ---------------------------------------------------------------- */
.included-section {
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.included-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 560px) { .included-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .included-grid { grid-template-columns: repeat(3, 1fr); } }

.included-card {
  background: var(--bg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.included-card svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 1px; }
.included-card span { font-size: .875rem; line-height: 1.55; }

/* ----------------------------------------------------------------
   FAQ (Service page)
   ---------------------------------------------------------------- */
.faq-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  max-width: 760px;
}

.faq-item {
  background: var(--bg);
  padding: 1.75rem;
}
.faq-item h3 {
  font-size: .9375rem;
  margin-bottom: .75rem;
}
.faq-item p { font-size: .875rem; color: var(--fg-muted); line-height: 1.65; }

/* ----------------------------------------------------------------
   CTA BANNER
   ---------------------------------------------------------------- */
.cta-banner {
  background: var(--primary);
  color: var(--primary-fg);
}
.cta-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 4rem;
}
@media (min-width: 768px) {
  .cta-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.cta-banner h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); max-width: 480px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-top: .4rem; font-size: .9375rem; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: .75rem; flex-shrink: 0; }

/* ----------------------------------------------------------------
   SERVICES INDEX PAGE
   ---------------------------------------------------------------- */
.services-index-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 560px) { .services-index-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .services-index-grid { grid-template-columns: repeat(3, 1fr); } }

.service-index-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background .15s;
}
.service-index-card:hover { background: var(--bg-muted); }

.service-index-card__subtitle {
  font-size: .875rem;
  color: var(--fg-muted);
  line-height: 1.6;
  flex: 1;
}
.service-index-card__more {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap .15s;
}
.service-index-card:hover .service-index-card__more { gap: .6rem; }
.service-index-card__more svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------
   ZAPCHASTI PAGE extras
   ---------------------------------------------------------------- */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 640px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }

.adv-card {
  background: var(--bg);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
}
.adv-card__icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius);
  background: rgba(192,57,43,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.adv-card__icon svg { width: 20px; height: 20px; color: var(--primary); }
.adv-card h3 { font-size: .9375rem; margin-bottom: .5rem; }
.adv-card p { font-size: .875rem; color: var(--fg-muted); line-height: 1.6; }

.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card { background: var(--bg); padding: 1.75rem; }
.cat-card h3 { font-size: .875rem; margin-bottom: 1rem; color: var(--fg); }
.cat-card ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.cat-card li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: var(--fg-muted);
}
.cat-card li svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

/* ----------------------------------------------------------------
   Back link
   ---------------------------------------------------------------- */
.back-link-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--fg-muted);
  padding-block: 1.25rem;
  transition: color .15s;
}
.back-link:hover { color: var(--fg); }
.back-link svg { width: 16px; height: 16px; }

/* ----------------------------------------------------------------
   Section padding utility
   ---------------------------------------------------------------- */
.section-inner { padding-block: 4rem; }
@media (min-width: 768px) { .section-inner { padding-block: 5rem; } }

/* ----------------------------------------------------------------
   Responsive — header collapse
   ---------------------------------------------------------------- */
@media (max-width: 767px) {
  .site-nav,
  .header-phone { display: none; }
  .burger { display: flex; }
}
