/* =========================================================================
   nikolaev-nsk.ru — надстройка над шаблоном Lawrex
   Шрифты (локально, с кириллицей), логотип, новые блоки, адаптация под русский текст.
   Палитра шаблона: #162542 (тёмно-синий) · #b68c5a (золото)
   ========================================================================= */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(../fonts/playfair-display-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url(../fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --navy: #162542; --navy-2: #1f3360; --gold: #b68c5a; --gold-2: #c9a273; --text: #5d6680; --line: #e7e9ef; }

body { font-family: "Manrope", system-ui, sans-serif; color: var(--text); font-size: 16px; line-height: 1.7; }
p { line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { font-family: "Playfair Display", Georgia, serif; letter-spacing: 0; }

/* кириллица длиннее латиницы — уменьшаем крупные заголовки шаблона */
h1, .h1 { font-size: 60px; line-height: 1.15; }
h2 { font-size: 42px; line-height: 1.2; }
.section-title h2 { font-size: 42px; line-height: 1.2; }
.hero-wrapper-one .hero-content h1,
.hero-wrapper-one .hero-content .h1 { font-size: 62px; line-height: 1.12; color: #fff; font-weight: 700; margin-bottom: 25px; }
.page-title h1.title, .breadcrumbs-area .page-title h1 { font-size: 48px; line-height: 1.2; text-transform: none; }
.main-btn { text-transform: none; font-size: 15px; letter-spacing: .2px; padding: 13px 34px; }
.main-btn.filled-btn { line-height: 25px; }
.light-bg { background-color: #f3f4f7; }

/* скрытые элементы шаблона, которые не используем */
.preloader { display: none !important; }

/* ---------- логотип ---------- */
.brand-text { display: inline-flex; align-items: center; gap: 14px; color: var(--navy); }
.brand-text:hover, .brand-text:focus { color: var(--navy); }
.brand-mark { width: 54px; height: 54px; border: 2px solid var(--gold); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); font-size: 24px; flex: 0 0 auto; }
.brand-words { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 700; letter-spacing: .5px; }
.brand-sub { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 700; margin-top: 4px; }
.brand-text--light, .brand-text--light:hover { color: #fff; }
.footer-logo .brand-text { margin-bottom: 10px; }
.panel-logo .brand-text { color: var(--navy); }

/* ---------- шапка ---------- */
.header-top-bar .text-block p { font-size: 14px; }
.header-top-bar .top-hours { color: #fff; font-size: 14px; }
.header-top-bar .top-hours i { color: var(--gold); margin-right: 6px; }
.header-logo-area .site-info .info-list li .info h5 { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 18px; }
.header-logo-area .site-info .info-list li .info span.title { text-transform: none; }
.main-menu ul > li > a { text-transform: none !important; font-weight: 600; }
.header-navigation .main-menu ul li > a.active { color: var(--gold); }
.mobile-contacts { display: none; }
.header-navigation.breakpoint-on .mobile-contacts { display: block; padding: 20px 0; }
.header-right-nav ul li .main-btn { white-space: nowrap; }
@media (min-width: 1200px) {
  .header-navigation .main-menu > ul > li > a { padding: 32px 15px; font-size: 16px; }
  .header-navigation .main-menu > ul > li:first-child > a { padding-left: 0; }
}
@media (min-width: 1200px) and (max-width: 1399px) { .header-navigation .main-menu > ul > li > a { padding: 32px 11px; } }

/* ---------- hero ---------- */
.hero-wrapper-one .single-slider { min-height: 760px; }
.hero-wrapper-one .hero-content .span { text-transform: none; letter-spacing: 1px; }
.hero-wrapper-one .hero-content p { font-size: 18px; max-width: 640px; }
.hero-content-center p { margin-left: auto; margin-right: auto; }
.hero-content-right p { margin-left: auto; }

/* ---------- карточки преимуществ поверх hero ---------- */
.features-item-one .content h4 { font-size: 24px; }
.features-item-one .content p { min-height: 108px; }

/* ---------- блок направления (главная) ---------- */
.service-item-compact { background: #fff; border: 1px solid var(--line); padding: 22px 24px !important; margin-bottom: 20px !important; align-items: center; }
.service-item-compact .icon i { font-size: 34px; }
.service-item-compact .content h3.title { font-size: 20px; line-height: 1.3; margin-bottom: 4px; }
.service-item-compact .content p { margin: 0; color: var(--gold); font-weight: 700; font-size: 15px; }
.direction-img img { width: 100%; height: auto; object-fit: cover; box-shadow: 0 20px 50px rgba(22, 37, 66, .15); }
.direction-img { margin-bottom: 30px; }

/* ---------- карточки услуг ---------- */
.svc-card { display: flex; gap: 18px; margin-bottom: 30px; padding: 32px 28px; background: #fff; border: 1px solid var(--line); color: var(--text); position: relative; transition: all .3s ease; }
.svc-card:before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--gold); transition: height .3s ease; }
.svc-card:hover { color: var(--text); box-shadow: 0 20px 45px rgba(22, 37, 66, .1); transform: translateY(-4px); border-color: transparent; }
.svc-card:hover:before { height: 100%; }
.svc-card__icon { flex: 0 0 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: rgba(182, 140, 90, .1); color: var(--gold); font-size: 28px; }
.svc-card__body { display: flex; flex-direction: column; flex: 1; }
.svc-card__title { font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.svc-card__text { font-size: 15px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.svc-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; }
.svc-card__price { color: var(--navy); font-weight: 800; }
.svc-card__more { color: var(--gold); font-weight: 700; }
.svc-card__more i { margin-left: 4px; transition: margin .3s; }
.svc-card:hover .svc-card__more i { margin-left: 8px; }

/* ---------- шаги ---------- */
.step-item { position: relative; padding: 36px 30px 30px; margin-bottom: 40px; background: #fff; border: 1px solid var(--line);  }
.step-item__num { font-family: "Playfair Display", Georgia, serif; font-size: 54px; font-weight: 700; line-height: 1; color: var(--gold); opacity: .9; display: block; margin-bottom: 16px; }
.step-item h4 { font-size: 22px; margin-bottom: 10px; }
.step-item p { margin: 0; font-size: 15px; }
.steps-list { padding-left: 20px; }
.steps-list li { margin-bottom: 10px; }
.steps-list li strong { color: var(--navy); }

/* ---------- преимущества ---------- */
.benefit-item { text-align: center; padding: 40px 26px; margin-bottom: 30px; background: #fff; box-shadow: 0 10px 30px rgba(22, 37, 66, .05); }
.benefit-item__icon { width: 80px; height: 80px; margin: 0 auto 22px; border: 1px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--gold); }
.benefit-item h4 { font-size: 22px; margin-bottom: 12px; }
.benefit-item p { margin: 0; font-size: 15px; }

/* ---------- юридическая оговорка ---------- */
.legal-note { display: flex; gap: 18px; align-items: flex-start; margin: 30px 0; padding: 26px 30px; background: #fff; border-left: 3px solid var(--gold); box-shadow: 0 10px 30px rgba(22, 37, 66, .06); }
.legal-note i { font-size: 28px; color: var(--gold); margin-top: 3px; }
.legal-note p { margin: 0; font-size: 15px; }

/* ---------- лицензия ---------- */
.license-card { display: flex; gap: 30px; padding: 44px; background: var(--navy); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.license-card:after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border: 30px solid rgba(182, 140, 90, .12); border-radius: 50%; }
.license-card__icon { flex: 0 0 90px; height: 90px; border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 40px; }
.license-card h4 { color: #fff; font-size: 26px; margin-bottom: 20px; }
.license-card dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; position: relative; z-index: 1; }
.license-card dt { font-weight: 500; color: rgba(255, 255, 255, .6); }
.license-card dd { margin: 0; color: #fff; font-weight: 700; }

/* ---------- цены ---------- */
.price-intro { max-width: 860px; margin: 0 auto 60px; text-align: center; font-size: 17px; }
.prices-group { margin-bottom: 40px; scroll-margin-top: 120px; }
.prices-group__title { font-size: 36px; margin-bottom: 30px; padding-bottom: 16px; border-bottom: 2px solid var(--gold); }
.price-table { background: #fff; border: 1px solid var(--line); padding: 26px 28px 14px; margin-bottom: 30px; }
.service-details-wrapper .price-table { padding: 10px 0 0; border: 0; }
.price-table__head h4 { font-size: 22px; margin-bottom: 14px; }
.price-table__head h4 a:hover { color: var(--gold); }
.price-table__head i { color: var(--gold); margin-right: 8px; }
.price-table__list { list-style: none; padding: 0; margin: 0; }
.price-table__list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; font-size: 15px; }
.price-table__name { color: var(--navy); }
.price-table__dots { flex: 1; border-bottom: 1px dotted #c5c9d4; transform: translateY(-4px); min-width: 20px; }
.price-table__price { font-weight: 800; color: var(--gold); white-space: nowrap; }
.price-note { font-size: 14px; color: #8a90a2; margin-top: 10px; }

/* ---------- страница услуги ---------- */
.service-details-wrapper .service-item .content { margin-top: 30px; }
.service-details-wrapper .service-item .content h3.title { font-size: 30px; margin-bottom: 18px; }
.service-lead { font-size: 19px; color: var(--navy); font-weight: 600; }
ul.list { list-style: none; padding: 0; }
ul.list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.list li:before { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 400; position: absolute; left: 0; top: 1px; color: var(--gold); }
@media (min-width: 768px) { .list-2col { columns: 2; column-gap: 40px; } .list-2col li { break-inside: avoid; } }
.contact-side-widget p { margin-bottom: 10px; }
.contact-side-widget i { color: var(--gold); width: 22px; }
.sidebar-widget-area .widget.banner-widget .banner-content h3 { font-size: 26px; }

/* ---------- формы ---------- */
.form-box { background: #fff; padding: 40px; box-shadow: 0 15px 45px rgba(22, 37, 66, .08); }
.contact-wrapper-three.form-box .section-title h2, .form-box .section-title h2 { font-size: 32px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; margin: 0 0 18px; cursor: pointer; }
.form-consent input { margin-top: 3px; accent-color: var(--gold); }
.form-consent a { color: var(--gold); text-decoration: underline; }
.form-alert { display: none; margin-top: 14px; padding: 12px 16px; font-size: 15px; }
.form-alert.ok { display: block; background: #edf7ef; color: #1e6b33; }
.form-alert.err { display: block; background: #fbeeee; color: #9b2323; }
.contact-form .form_group textarea.form_control { min-height: 120px; }
.contact-form .nice-select { width: 100%; }
.contact-form .nice-select .list { max-height: 300px; overflow-y: auto; width: 100%; }
.contact-form .nice-select .option { white-space: normal; line-height: 1.4; padding-top: 8px; padding-bottom: 8px; }
.home-form-area .contact-wrapper-one { margin-top: 0; }
.section-text { margin-top: 15px; max-width: 680px; margin-left: auto; margin-right: auto; }

/* ---------- CTA ---------- */
.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.cta-buttons .filled-btn:hover { color: #fff; }
.cta-area-one { margin-top: 0; }

/* ---------- статьи ---------- */
.blog-card { background: #fff; margin-bottom: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.blog-card__img { display: block; overflow: hidden; }
.blog-card__img img { width: 100%; height: auto; transition: transform .5s ease; }
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.blog-card__body h3.title { font-size: 22px; line-height: 1.35; margin: 10px 0 12px; }
.blog-card__body h3.title a:hover { color: var(--gold); }
.blog-card__body p { font-size: 15px; flex: 1; }
.blog-card .post-meta ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; }
.blog-card .post-meta i { color: var(--gold); margin-right: 6px; }
.blog-card .btn-link { color: var(--navy); font-weight: 700; text-decoration: none; }
.text-content h4 { font-size: 26px; margin: 34px 0 14px; }
.text-content blockquote { margin: 30px 0; padding: 30px 34px; background: var(--navy); border-left: 4px solid var(--gold); }
.text-content blockquote h5 { color: #fff; font-size: 20px; line-height: 1.5; margin: 0; }
.text-content a { color: var(--gold); text-decoration: underline; }
.blog-post-details .post-meta ul { list-style: none; padding: 0; display: flex; gap: 20px; font-size: 14px; }
.blog-post-details .post-meta i { color: var(--gold); margin-right: 6px; }
.post-service-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 40px 0 20px; padding: 28px 30px; background: #f3f4f7; border-left: 3px solid var(--gold); }
.post-service-cta span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 700; }
.post-service-cta h4 { font-size: 22px; margin: 4px 0; }
.post-service-cta p { margin: 0; font-weight: 700; color: var(--navy); }
.post-disclaimer { font-size: 13px; color: #8a90a2; }
.recent-post-list { list-style: none; padding: 0; }
.recent-post-list .post-thumbnail-content img { width: 80px; height: 70px; object-fit: cover; }

/* ---------- прочее ---------- */
.page-title .page-sub { display: block; color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; margin-bottom: 12px; }
.requisites { margin-top: 20px; padding: 30px 34px; background: #f3f4f7; }
.requisites h3 { font-size: 24px; margin-bottom: 12px; }
.requisites p { margin: 0; }
.office-info-item .office-info-text p a:hover { color: var(--gold); }
.map-box iframe { width: 100%; height: 100%; min-height: 520px; border: 0; }
.footer-license { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer-license i { color: var(--gold); margin-right: 6px; }
.footer-links a { color: rgba(255, 255, 255, .8); }
.footer-links a:hover { color: var(--gold); }
.copyright-text p { margin-bottom: 6px; }
.error-code { font-size: 140px; color: var(--gold); line-height: 1; margin-bottom: 20px; }
.faq-group__title { font-size: 32px; margin-bottom: 24px; }
.faq-group { scroll-margin-top: 120px; }
.sticky-side { position: sticky; top: 120px; }
.text-page .text-content h4 { font-size: 24px; }
.wt-initials { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; }
.other-works { max-width: 900px; margin: 0 auto; }
.faq-accordian-one .card .card-header a { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 17px; line-height: 1.45; }
.mt-30 { margin-top: 30px; } .mt-40 { margin-top: 40px; }

/* ---------- адаптив ---------- */
@media (max-width: 1199px) {
  h1, .h1, .hero-wrapper-one .hero-content h1, .hero-wrapper-one .hero-content .h1 { font-size: 48px; }
  h2, .section-title h2 { font-size: 36px; }
  .hero-wrapper-one .single-slider { min-height: 640px; }
}
@media (max-width: 991px) {
  .page-title h1.title { font-size: 38px; }
  .license-card { flex-direction: column; padding: 32px; }
  .license-card dl { grid-template-columns: 1fr; }
  .license-card dt { margin-top: 8px; }
  .features-item-one .content p { min-height: 0; }
  .sticky-side { position: static; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  h1, .h1, .hero-wrapper-one .hero-content h1, .hero-wrapper-one .hero-content .h1 { font-size: 36px; }
  h2, .section-title h2 { font-size: 30px; }
  .page-title h1.title { font-size: 30px; }
  .hero-wrapper-one .single-slider { min-height: 560px; }
  .hero-wrapper-one .hero-content p { font-size: 16px; }
  .brand-name { font-size: 24px; }
  .brand-mark { width: 46px; height: 46px; font-size: 20px; }
  .brand-sub { font-size: 10px; letter-spacing: 1.5px; }
  .form-box { padding: 28px 22px; }
  .post-service-cta { flex-direction: column; align-items: flex-start; }
  .header-right-nav ul li .main-btn { padding: 10px 18px; font-size: 14px; }
  .map-box iframe { min-height: 360px; }
  .error-code { font-size: 100px; }
}

/* правки после проверки */
.page-title .page-sub { text-align: center; }
.service-details-wrapper .service-item .content { padding-top: 10px; padding-bottom: 10px; }

/* мессенджеры */
.messengers { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.messenger { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.messenger i { color: var(--gold); font-size: 16px; margin: 0 !important; width: auto !important; }
a.messenger:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
a.messenger:hover i { color: #fff; }
.messengers--light .messenger { border-color: rgba(255,255,255,.25); color: #fff; }
.header-top-bar .top-social a { margin-left: 14px; }
.header-logo-area .site-info .info-list li .info span.title + h5 + span.title { display: block; margin-top: 2px; font-size: 12px; }
.header-logo-area .site-info .info-list li .info h5 a span { text-transform: none; }
.office-info-text .messengers { justify-content: center; }

/* ---------- одинаковая высота блоков в строке ---------- */
.row-eq > [class*="col"] { display: flex; flex-direction: column; }
.row-eq > [class*="col"] > :first-child { flex: 1 1 auto; }
.row-eq .features-item-one { display: flex; flex-direction: column; }
.row-eq .features-item-one .content { flex: 1 1 auto; display: flex; flex-direction: column; }
.row-eq .features-item-one .content p { min-height: 0; flex: 1 1 auto; }
.row-eq .office-info-item { width: 100%; }
.row-eq .price-table { width: 100%; }
.row-eq .counter-item { width: 100%; }
.service-item-compact { display: flex; }

/* без горизонтальной прокрутки (анимации WOW, длинные строки) */
main, footer { overflow-x: clip; }
.nice-select { max-width: 100%; }
.nice-select .current { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 10px; }

/* CTA без наезда на следующую секцию (перед подвалом) */
.cta-area--static { margin-bottom: 0; }
