/* ============================================================
   РУСКОНСАЛТ — ОБЩИЕ СТИЛИ
   Используется на index.html, privacy.html и всех страницах /services/
   ============================================================ */

:root {
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --gold: #f2b705;
  --gold-hover: #d9a304;
  --gray: #6b6b6b;
  --light: #f7f7f7;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--black);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--black); }
.logo img { height: 44px; width: auto; }
.logo__text { font-weight: 800; font-size: 18px; letter-spacing: 0.5px; line-height: 1.1; }
.logo__text small {
  display: block; font-size: 10px; font-weight: 500;
  color: var(--gray); letter-spacing: 1.5px; margin-top: 2px;
}
.nav { display: flex; gap: 26px; }
.nav a {
  color: var(--black); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav a:hover { color: var(--gold); }
.header__contacts { display: flex; align-items: center; gap: 18px; }
.phone {
  font-weight: 700; font-size: 16px; color: var(--black);
  text-decoration: none; white-space: nowrap;
}
.phone:hover { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 6px;
  font-weight: 600; font-size: 14px; text-decoration: none;
  border: none; cursor: pointer; transition: all .2s;
  font-family: inherit; text-align: center;
}
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-hover); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.btn--outline:hover { background: var(--black); color: var(--white); }

/* ============================================================
   SECTION HEAD
   ============================================================ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 55px; }
.section-head__badge {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: rgba(242,183,5,0.15); color: #8a6a00;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 16px;
}
.section-head h2 {
  font-size: 38px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 14px;
}
.section-head p { font-size: 16px; color: var(--gray); }

/* ============================================================
   HERO (главная)
   ============================================================ */
.hero {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.hero__badge {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: rgba(242,183,5,0.15); color: #8a6a00;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 46px; line-height: 1.15; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 20px;
}
.hero h1 span { color: var(--gold); }
.hero__sub {
  font-size: 17px; color: var(--gray); margin-bottom: 30px; max-width: 520px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__stats {
  display: flex; gap: 40px; padding-top: 30px; border-top: 1px solid #eee;
}
.stat__num { font-size: 28px; font-weight: 800; color: var(--black); }
.stat__num span { color: var(--gold); }
.stat__label { font-size: 13px; color: var(--gray); }

/* ============================================================
   HERO (страница услуги)
   ============================================================ */
.service-hero {
  padding: 50px 0 70px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-bottom: 1px solid #eee;
}
.breadcrumbs {
  font-size: 13px; color: var(--gray); margin-bottom: 22px;
}
.breadcrumbs a {
  color: var(--gray); text-decoration: none; transition: color .2s;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--black); font-weight: 500; }
.service-hero__grid {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: start;
}
.service-hero h1 {
  font-size: 42px; line-height: 1.15; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 18px;
}
.service-hero__sub {
  font-size: 17px; color: var(--gray); margin-bottom: 28px;
  max-width: 620px;
}
.service-hero__meta {
  display: flex; gap: 40px; padding: 24px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-bottom: 28px;
}
.service-hero__meta-item .label {
  font-size: 12px; color: var(--gray); margin-bottom: 4px;
}
.service-hero__meta-item .value {
  font-size: 22px; font-weight: 800; color: var(--black);
}
.service-hero__meta-item .value span { color: var(--gold); }
.service-hero__tags {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px;
}
.service-hero__tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 5px 12px; border-radius: 12px;
  background: rgba(242,183,5,0.2); color: #8a6a00;
}
.service-hero__tag--blue { background: #e3eeff; color: #1e5fc4; }

/* ============================================================
   FORM CARD
   ============================================================ */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
  border: 1px solid #f0f0f0;
}
.form-card h3 { font-size: 22px; margin-bottom: 8px; font-weight: 800; }
.form-card p { font-size: 14px; color: var(--gray); margin-bottom: 22px; }
.form-card label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 6px; color: var(--dark);
}
.form-card input, .form-card textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #e5e5e5;
  border-radius: 8px; font-size: 14px; font-family: inherit;
  margin-bottom: 16px; transition: border .2s;
  background: #fafafa;
}
.form-card input:focus, .form-card textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.form-card .btn { width: 100%; padding: 14px; font-size: 15px; }
.form-card .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-card__note {
  font-size: 11px; color: #999; margin-top: 12px; line-height: 1.5;
}

/* ============================================================
   SERVICES (главная)
   ============================================================ */
.services { padding: 90px 0; background: var(--white); }
.services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid #ececec;
  border-radius: 14px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: all .25s ease;
  position: relative;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 40px rgba(0,0,0,0.07);
  transform: translateY(-3px);
}
.service-card__tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px;
}
.service-card__tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 9px; border-radius: 12px;
  background: rgba(242,183,5,0.2); color: #8a6a00;
  white-space: nowrap;
}
.service-card__tag--blue { background: #e3eeff; color: #1e5fc4; }
.service-card h3 {
  font-size: 18px; font-weight: 700; line-height: 1.3;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px; color: var(--gray); line-height: 1.55;
  flex-grow: 1; margin-bottom: 18px;
}
.service-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid #f0f0f0;
  margin-bottom: 16px;
}
.service-card__price { font-size: 17px; font-weight: 800; }
.service-card__price small { font-size: 12px; font-weight: 500; color: var(--gray); }
.service-card__term { font-size: 12px; color: var(--gray); font-weight: 600; }
.service-card .btn { width: 100%; padding: 11px; font-size: 13px; }

/* ============================================================
   STEPS (главная и страницы услуг)
   ============================================================ */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  margin-top: 10px;
}
.steps-grid .step {
  background: var(--white); border-radius: 14px;
  padding: 28px 22px 24px;
  border: 1.5px solid transparent;
  transition: all .25s;
}
.steps-grid .step:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}
.step__num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px; margin-bottom: 16px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }
.step p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ============================================================
   HOW (главная)
   ============================================================ */
.how { padding: 90px 0; background: var(--light); }

/* ============================================================
   WHY (главная)
   ============================================================ */
.why { padding: 90px 0; background: var(--white); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  padding: 28px 24px; border-radius: 14px;
  background: var(--light); transition: all .25s;
}
.why-card:hover { background: #f0f0f0; transform: translateY(-3px); }
.why-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.why-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--gray); line-height: 1.55; }

/* ============================================================
   FAQ (главная и страницы услуг)
   ============================================================ */
.faq { padding: 90px 0; background: var(--light); }
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: 12px;
  margin-bottom: 12px; overflow: hidden;
  border: 1.5px solid transparent; transition: border .2s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 20px 26px; cursor: pointer;
  font-weight: 600; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; font-weight: 400; color: var(--gold);
  transition: transform .2s; flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item__answer {
  padding: 0 26px 22px; font-size: 14px; color: var(--gray); line-height: 1.65;
}

/* ============================================================
   REVIEWS (главная)
   ============================================================ */
.reviews { padding: 90px 0; background: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--light); border-radius: 14px; padding: 28px 26px;
  display: flex; flex-direction: column;
}
.review__stars { color: var(--gold); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.review__text {
  font-size: 14px; color: var(--dark); line-height: 1.6;
  flex-grow: 1; margin-bottom: 20px;
}
.review__author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid #e5e5e5;
}
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.review__name { font-weight: 700; font-size: 14px; }
.review__role { font-size: 12px; color: var(--gray); }

/* ============================================================
   CONTACTS (главная)
   ============================================================ */
.contacts { padding: 90px 0; background: var(--light); }
.contacts__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start;
}
.contacts__info h2 {
  font-size: 34px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.5px;
}
.contacts__info > p { color: var(--gray); margin-bottom: 30px; font-size: 16px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-item__icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item__label { font-size: 12px; color: var(--gray); margin-bottom: 2px; }
.contact-item__value {
  font-size: 16px; font-weight: 600; color: var(--black); text-decoration: none;
  line-height: 1.4;
}
.contact-item__value:hover { color: var(--gold); }

/* ============================================================
   CONTENT (страницы услуг)
   ============================================================ */
.content-section { padding: 70px 0; background: var(--white); }
.content-section--light { background: var(--light); }
.content-inner { max-width: 860px; margin: 0 auto; }
.content-section h2 {
  font-size: 30px; font-weight: 800; letter-spacing: -0.4px;
  margin-bottom: 20px; line-height: 1.2;
}
.content-section h3 {
  font-size: 20px; font-weight: 700; margin: 28px 0 12px;
}
.content-section p {
  font-size: 16px; color: var(--dark); line-height: 1.7; margin-bottom: 16px;
}
.content-section ul, .content-section ol {
  padding-left: 24px; margin-bottom: 18px;
}
.content-section li {
  font-size: 16px; color: var(--dark); line-height: 1.7; margin-bottom: 8px;
}
.content-section strong { font-weight: 700; }

.info-callout {
  background: var(--light);
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  border-radius: 8px;
  margin: 24px 0;
  font-size: 15px;
}

/* ============================================================
   CTA-БЛОК (страницы услуг)
   ============================================================ */
.cta-block {
  padding: 70px 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.cta-block h2 {
  font-size: 34px; font-weight: 800; letter-spacing: -0.4px;
  margin-bottom: 16px;
}
.cta-block p {
  font-size: 17px; color: #bbb; margin-bottom: 32px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.cta-block__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-block .btn--outline {
  color: var(--white); border-color: var(--white);
}
.cta-block .btn--outline:hover {
  background: var(--white); color: var(--black);
}

/* ============================================================
   ДРУГИЕ УСЛУГИ (страницы услуг)
   ============================================================ */
.other-services { padding: 70px 0; background: var(--light); }
.other-services__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.other-service-card {
  background: var(--white); border-radius: 12px;
  padding: 22px 22px;
  text-decoration: none; color: var(--black);
  border: 1.5px solid transparent;
  transition: all .25s;
}
.other-service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.other-service-card h4 {
  font-size: 16px; font-weight: 700; margin-bottom: 8px;
}
.other-service-card p {
  font-size: 13px; color: var(--gray); line-height: 1.5;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black); color: #bbb;
  padding: 50px 0 30px; font-size: 13px;
}
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 30px;
}
.footer .logo img { filter: invert(1); height: 38px; }
.footer .logo__text { color: var(--white); }
.footer .logo__text small { color: #888; }
.footer__desc { margin-top: 16px; line-height: 1.6; color: #999; max-width: 320px; }
.footer h5 { color: var(--white); font-size: 14px; margin-bottom: 16px; font-weight: 700; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #bbb; text-decoration: none; }
.footer ul a:hover { color: var(--gold); }
.footer__bottom {
  padding-top: 24px; border-top: 1px solid #222;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: #777;
}
.footer__bottom a { color: #777; text-decoration: none; }
.footer__bottom a:hover { color: var(--gold); }
.footer__requisites { font-size: 12px; line-height: 1.7; color: #888; margin-top: 12px; }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 20px 0;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cookie-banner__text {
  font-size: 13px; color: #555; line-height: 1.5; max-width: 680px;
}
.cookie-banner__text a { color: #1e5fc4; text-decoration: underline; }
.cookie-banner__text a:hover { color: var(--gold); }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner__btn {
  padding: 10px 22px; border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: none; font-family: inherit; transition: all 0.2s;
}
.cookie-banner__btn--accept { background: var(--gold); color: var(--black); }
.cookie-banner__btn--accept:hover { background: var(--gold-hover); }
.cookie-banner__btn--decline {
  background: transparent; color: #555; border: 1.5px solid #ccc;
}
.cookie-banner__btn--decline:hover { border-color: #999; color: var(--black); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .nav { display: none; }
  .hero__grid,
  .service-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; }
  .service-hero h1 { font-size: 32px; }
  .services__grid,
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; gap: 40px; }
  .other-services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__btn { flex: 1; }
}
@media (max-width: 640px) {
  .header__contacts .btn { display: none; }
  .phone { font-size: 14px; }
  .logo__text { font-size: 15px; }
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero__stats { flex-wrap: wrap; gap: 24px; }
  .stat__num { font-size: 22px; }
  .service-hero { padding: 30px 0 50px; }
  .service-hero h1 { font-size: 26px; }
  .service-hero__meta { flex-wrap: wrap; gap: 24px; }
  .section-head h2 { font-size: 26px; }
  .services, .how, .why, .faq, .reviews, .contacts { padding: 60px 0; }
  .services__grid,
  .why__grid,
  .steps-grid,
  .other-services__grid { grid-template-columns: 1fr; }
  .contacts__info h2 { font-size: 26px; }
  .content-section { padding: 50px 0; }
  .content-section h2 { font-size: 24px; }
  .content-section h3 { font-size: 18px; }
  .cta-block h2 { font-size: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}