/* Доработки поверх темы avweb (Laravel-версия) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form select { width: 100%; height: 50px; border: 2px solid #e1e1e1; padding: 0 20px; margin-bottom: 20px; background: #fff; color: #868686; font-size: 14px; }
.form-dark .contact-form select { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.form-dark .contact-form select option { color: #222; }
.contact-form button.site-btn { border: none; cursor: pointer; }
.form-response { display: none; margin-top: 15px; padding: 12px 18px; font-size: 14px; border-radius: 3px; }
.form-response.is-ok { display: block; background: #d4edda; color: #155724; }
.form-response.is-error { display: block; background: #f8d7da; color: #721c24; }
.site-form input.is-invalid, .site-form textarea.is-invalid { border-color: #dc3545 !important; }
.hero-section .hs-item { background-size: cover; background-position: center; }
.work-description { margin-top: 20px; }
.work-description p { color: #868686; }
.single-work-full-img img { max-width: 100%; height: auto; }
.page-top-area { background-size: cover; background-position: center; }
.single-work-section .element .icon-box { margin-bottom: 30px; }
@media (max-width: 767px) { .single-work-section .element { margin-bottom: 20px; } }
/* Переключатель языков в шапке: float в одну линию с кнопкой и меню */
.lang-switch { float: right; margin: 21px 0 0 16px; font-size: 12px; line-height: 1; letter-spacing: 1px; white-space: nowrap; }
.lang-switch a { color: #fff; opacity: .55; padding: 0 3px; text-transform: uppercase; font-weight: 600; }
.lang-switch span { color: #fff; opacity: .35; }
.lang-switch a.active, .lang-switch a:hover { opacity: 1; text-decoration: none; }
@media (max-width: 991px) { .lang-switch { margin: 14px 8px 0 0; } }

/* Кнопка «Консультація» в шапке (вместо телефона) */
.site-consult { float: right; margin: 9px 0 0 10px; padding: 9px 16px; background: transparent; border: 2px solid #fff; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.site-consult i { margin-right: 6px; }
.site-consult:hover, .site-consult:focus { background: #fff; color: #222121; outline: none; }
.consult-note { color: #ccc; font-size: 14px; margin-bottom: 20px; }
#myConsult .contact-form input { margin-bottom: 20px; }
@media (max-width: 991px) {
	.site-consult { margin: 4px 50px 0 0; padding: 8px 12px; }
	.site-consult span { display: none; }
	.site-consult i { margin: 0; font-size: 18px; }
}

/* Страница контактов (белый фон) */
.contacts-page .con-info { list-style: none; padding: 0; margin-top: 30px; }
.contacts-page .con-info li { color: #222121; margin-bottom: 18px; font-size: 15px; }
.contacts-page .con-info li i { width: 30px; float: left; color: #616161; display: block; margin-right: 15px; font-size: 20px; }
.contacts-page .con-info li a { color: #222121; }
.contacts-page .con-info img { margin: 0 3px; }
.contacts-page .contacts-form-title { font-size: 22px; margin-bottom: 30px; }
.contacts-page .contact-form input, .contacts-page .contact-form textarea { border-color: #e1e1e1; color: #222121; }
.contacts-page .contact-form ::placeholder { color: #868686; }
.contacts-page .con-info img { filter: invert(1) brightness(0.4); width: 20px; }
/* WhatsApp рядом с Telegram/Viber */
.con-info .wa-link { display: inline-block; margin: 0 3px; vertical-align: middle; }
.con-info .wa-link i { font-size: 18px; color: #fff; float: none; width: auto; margin: 0; display: inline; }
.contacts-page .con-info .wa-link i { color: #222121; }

/* ===== CTA: единый жёлтый стиль активных кнопок ===== */
:root { --av-yellow: #FFC53D; --av-yellow-dark: #F0B21B; --av-ink: #14181f; }
.site-btn, .site-btn.light, .site-btn.btn-two, .site-btn.btn-three, .contact-form button.site-btn {
	display: inline-block; min-width: 0; padding: 15px 30px; border: 0; border-radius: 4px;
	background: var(--av-yellow); color: var(--av-ink); font-size: 13px; font-weight: 700; letter-spacing: 1px;
	text-transform: uppercase; line-height: 1.2; cursor: pointer; text-align: center; text-decoration: none;
	box-shadow: 0 6px 18px rgba(255,197,61,.35); transition: background .2s, transform .2s, box-shadow .2s;
}
.site-btn:after, .site-btn.light:after, .site-btn.btn-three:after { display: none; }
.site-btn:hover, .site-btn:focus, .site-btn.light:hover, .site-btn.light:focus {
	background: var(--av-yellow-dark); color: var(--av-ink); text-decoration: none; transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(255,197,61,.45); outline: none;
}
.site-btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(255,197,61,.35); }
.site-btn.service-cta { padding: 17px 34px; font-size: 14px; }
.site-consult { background: var(--av-yellow); border-color: var(--av-yellow); color: var(--av-ink); border-radius: 4px; }
.site-consult:hover, .site-consult:focus { background: var(--av-yellow-dark); border-color: var(--av-yellow-dark); color: var(--av-ink); }
.site-consult .ic-svg { vertical-align: -3px; margin-right: 6px; }
@media (max-width: 991px) { .site-consult .ic-svg { margin: 0; } }
.service-card-more { color: var(--av-ink); border-bottom: 2px solid var(--av-yellow); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.service-card:hover .service-card-more { border-color: var(--av-yellow-dark); }
.service-card:hover { border-color: var(--av-yellow); }
/* Ссылка «Замовити» на главной и т.п. — как кнопка уже покрыто .site-btn */

/* ===== Иконки: единый контурный набор в жёлтых плашках ===== */
.ic-svg { display: inline-block; vertical-align: middle; }
.ic-tile { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px;
	background: var(--av-yellow); color: var(--av-ink); box-shadow: 0 8px 20px rgba(255,197,61,.30); }
.ic-tile .ic-svg { width: 32px; height: 32px; }
.icon-box .ic-tile { margin-bottom: 26px; }
.service-card .ic-tile { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 20px; }
.service-card .ic-tile .ic-svg { width: 28px; height: 28px; }
.fact-box .fact-content .ic-tile { margin: 0 auto 18px; display: flex; }
.service-hero-tile { display: inline-flex; align-items: center; justify-content: center; width: 200px; height: 200px; border-radius: 48px;
	background: rgba(255,197,61,.16); color: #d69e00; }
.service-hero-tile .ic-svg { width: 110px; height: 110px; stroke-width: 1.25; }
.con-info .ic-tile, .contacts-page .con-info .ic-tile { width: 36px; height: 36px; border-radius: 9px; box-shadow: none; float: left; margin-right: 14px; }
.con-info .ic-tile .ic-svg { width: 18px; height: 18px; }
.contacts-page .con-info li { line-height: 36px; }
.con-info li { line-height: 36px; }

/* CTA в герое главной */
.hs-item .hs-cta { margin-top: 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hs-item .hs-cta-link { color: #fff; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; opacity: .85; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }
.hs-item .hs-cta-link:hover { opacity: 1; text-decoration: none; border-color: var(--av-yellow); color: var(--av-yellow); }
@media (max-width: 767px) { .hs-item .hs-cta { margin-top: 24px; gap: 16px; } }

/* Мессенджеры рядом с телефоном */
.msg-links { display: inline-flex; align-items: center; gap: 8px; margin-left: 12px; vertical-align: middle; }
.msg-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--av-yellow); color: var(--av-ink); transition: background .2s, transform .2s; }
.msg-link:hover { background: var(--av-yellow-dark); color: var(--av-ink); transform: translateY(-2px); }
.msg-link .ic-svg { width: 17px; height: 17px; }
.con-info li span:not(.ic-tile):not(.msg-links) { display: none; }

/* Плавающая кнопка связи (FAB) */
.cfab { position: fixed; right: 20px; bottom: 22px; z-index: 1040; }
.cfab-btn { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--av-yellow); color: var(--av-ink); cursor: pointer;
	box-shadow: 0 10px 26px rgba(0,0,0,.28); display: flex; align-items: center; justify-content: center; position: relative;
	transition: background .2s, transform .2s; animation: cfabPulse 2.6s ease-out infinite; }
.cfab-btn:hover { background: var(--av-yellow-dark); transform: scale(1.05); }
.cfab-btn:focus { outline: none; }
.cfab-btn .cfab-close { display: none; font-size: 34px; line-height: 1; margin-top: -4px; }
.cfab.is-open .cfab-btn { animation: none; background: #1d1d1d; color: #fff; }
.cfab.is-open .cfab-btn .cfab-open { display: none; }
.cfab.is-open .cfab-btn .cfab-close { display: block; }
@keyframes cfabPulse { 0% { box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 0 rgba(255,197,61,.55); } 70% { box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 16px rgba(255,197,61,0); } 100% { box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 0 rgba(255,197,61,0); } }
.cfab-menu { position: absolute; right: 0; bottom: 74px; width: 250px; background: #1d1d1d; border-radius: 16px; padding: 6px 0; box-shadow: 0 16px 40px rgba(0,0,0,.35);
	opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: bottom right; transition: opacity .18s, transform .18s, visibility .18s; }
.cfab.is-open .cfab-menu { opacity: 1; visibility: visible; transform: none; }
.cfab-group { padding: 14px 16px 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cfab-group:last-child { border-bottom: 0; }
.cfab-title { color: #fff; font-size: 15px; font-weight: 600; text-align: center; margin-bottom: 14px; }
.cfab-row { display: flex; justify-content: center; gap: 14px; }
.cfab-item { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: #1d1d1d; cursor: pointer; text-decoration: none; transition: background .2s, transform .2s; }
.cfab-item:hover, .cfab-item:focus { background: var(--av-yellow); color: #1d1d1d; transform: translateY(-2px); text-decoration: none; outline: none; }
#toTop { bottom: 100px; right: 15px; }
@media (max-width: 767px) { .cfab { right: 14px; bottom: 14px; } .cfab-btn { width: 56px; height: 56px; } .cfab-menu { bottom: 70px; } #toTop { display: none !important; } }

/* Мобильные правки */
@media (max-width: 767px) {
	.lang-switch { margin: 22px 62px 0 0; }
	.site-consult { margin: 4px 6px 0 0; }
	.page-top-area { height: 170px; }
	.service-hero h1.sp-title { font-size: 26px; }
	.service-hero { padding-top: 40px; padding-bottom: 20px; }
	.article-body table { min-width: 560px; }
	.article-body { overflow-x: hidden; }
	.article-body .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 26px; }
	.article-body .table-wrap table { margin: 0; display: table; }
	.hs-item .hs-cta .site-btn { width: 100%; }
}

/* ===== Футер ===== */
.footer-section { background: #111214; padding-top: 60px; padding-bottom: 0; }
.footer-top { padding-bottom: 30px; }
.footer-col { margin-bottom: 30px; }
.footer-section .site-logo { display: inline-block; margin-bottom: 18px; }
.footer-section .site-logo img { max-width: 120px; }
.footer-section p.footer-text { color: #a1a5ad; font-size: 14px; line-height: 1.7; max-width: 320px; margin-bottom: 22px; }
.footer-cta.site-btn { padding: 13px 22px; font-size: 12px; box-shadow: none; }
.footer-title { color: #fff; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; margin: 12px 0 20px; position: relative; padding-bottom: 12px; }
.footer-title:after { content: ''; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; background: var(--av-yellow); border-radius: 2px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #c9ccd2; font-size: 14px; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--av-yellow); text-decoration: none; padding-left: 4px; }
.footer-links .footer-more { color: var(--av-yellow); font-weight: 600; font-size: 13px; }
.footer-contacts { list-style: none; margin: 0 0 18px; padding: 0; }
.footer-contacts li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #c9ccd2; font-size: 14px; }
.footer-contacts li a { color: #fff; font-weight: 600; }
.footer-contacts li a:hover { color: var(--av-yellow); text-decoration: none; }
.footer-contacts .ic-tile { width: 36px; height: 36px; border-radius: 9px; box-shadow: none; flex: 0 0 36px; }
.footer-contacts .ic-tile .ic-svg { width: 18px; height: 18px; }
.footer-messengers { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.footer-msg-label { color: #a1a5ad; font-size: 13px; margin-right: 6px; }
.footer-messengers .msg-links { margin-left: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom .copyright { color: #7c8089; font-size: 13px; }
.footer-lang a { color: #7c8089; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; margin-left: 12px; }
.footer-lang a.active { color: #fff; }
.footer-lang a:hover { color: var(--av-yellow); text-decoration: none; }
@media (max-width: 767px) {
	.footer-section { padding-top: 40px; }
	.footer-title { margin-top: 6px; }
	.footer-bottom { flex-direction: column; text-align: center; padding-bottom: 90px; }
}
