/*
Theme Name: Unblock VAT Child
Theme URI: https://unblock-vat.com.ua
Description: Дочірня тема для Центру Розблокування ПДВ. Базується на Hello Elementor.
Author: Vadym Oksentyuk
Author URI: https://unblock-vat.com.ua
Template: hello-elementor
Version: 1.0.0
Text Domain: unblock-vat-child
*/

/* ============================================
   CSS ЗМІННІ — основні кольори і шрифти
   Змінюй тут — і змінюється на всьому сайті
   ============================================ */
:root {
  --uv-navy: #0A1F44;
  --uv-navy-deep: #06132B;
  --uv-navy-soft: #162C5A;
  --uv-accent: #E63946;
  --uv-accent-soft: #FFD6DA;
  --uv-white: #FFFFFF;
  --uv-gray-50: #F7F8FB;
  --uv-gray-100: #EEF1F7;
  --uv-gray-300: #C5CCDB;
  --uv-gray-500: #6B7896;
  --uv-gray-700: #3A4566;
  --uv-text: #0A1F44;
  --uv-radius: 6px;
  --uv-display: 'Unbounded', sans-serif;
  --uv-body: 'Manrope', sans-serif;
}

/* ============================================
   БАЗОВІ СТИЛІ САЙТУ
   ============================================ */
body {
  font-family: var(--uv-body);
  color: var(--uv-text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--uv-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--uv-navy);
}

a {
  color: var(--uv-accent);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  text-decoration: underline;
}

/* ============================================
   КНОПКИ — кастомні класи для Elementor
   У Elementor: Button → Advanced → CSS Classes
   ============================================ */

/* Червона кнопка (головна — Записатися) */
.uv-btn-primary,
.uv-btn-primary a {
  background: var(--uv-accent) !important;
  color: var(--uv-white) !important;
  padding: 16px 32px !important;
  border-radius: var(--uv-radius) !important;
  font-family: var(--uv-body) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border: none !important;
  cursor: pointer;
  transition: all .2s !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
}

.uv-btn-primary:hover,
.uv-btn-primary a:hover {
  background: #c92e3a !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 57, 70, 0.35);
}

/* Прозора кнопка з рамкою (на темному фоні) */
.uv-btn-secondary,
.uv-btn-secondary a {
  background: transparent !important;
  color: var(--uv-white) !important;
  padding: 16px 32px !important;
  border-radius: var(--uv-radius) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
  transition: all .2s !important;
}

.uv-btn-secondary:hover,
.uv-btn-secondary a:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

/* Темна кнопка з рамкою (на світлому фоні) */
.uv-btn-dark-outline,
.uv-btn-dark-outline a {
  background: transparent !important;
  color: var(--uv-navy) !important;
  padding: 16px 32px !important;
  border-radius: var(--uv-radius) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border: 1.5px solid var(--uv-gray-300) !important;
  cursor: pointer;
  transition: all .2s !important;
}

.uv-btn-dark-outline:hover,
.uv-btn-dark-outline a:hover {
  border-color: var(--uv-navy) !important;
  background: var(--uv-navy) !important;
  color: var(--uv-white) !important;
}

/* Кнопка в навігації (Консультація) */
.uv-btn-nav,
.uv-btn-nav a {
  background: var(--uv-navy) !important;
  color: var(--uv-white) !important;
  padding: 11px 22px !important;
  border-radius: var(--uv-radius) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background .2s !important;
}

.uv-btn-nav:hover,
.uv-btn-nav a:hover {
  background: var(--uv-accent) !important;
}

/* ============================================
   ТЕГИ-БЕЙДЖИ (наприклад "● Центр Розблокування ПДВ • Київ")
   ============================================ */

.uv-tag {
  display: inline-block;
  background: rgba(230, 57, 70, 0.15);
  color: var(--uv-accent-soft);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  border: 1px solid rgba(230, 57, 70, 0.3);
}

.uv-tag-label {
  font-family: var(--uv-display);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--uv-accent);
  margin-bottom: 16px;
}

/* ============================================
   ФОНИ СЕКЦІЙ
   ============================================ */

/* Темно-синій градієнт (hero, CTA) */
.uv-bg-navy {
  background: linear-gradient(135deg, var(--uv-navy-deep) 0%, var(--uv-navy) 60%, var(--uv-navy-soft) 100%) !important;
  color: var(--uv-white);
  position: relative;
  overflow: hidden;
}

.uv-bg-navy h1,
.uv-bg-navy h2,
.uv-bg-navy h3,
.uv-bg-navy h4 {
  color: var(--uv-white) !important;
}

.uv-bg-navy p {
  color: rgba(255, 255, 255, 0.78);
}

/* Сірий світлий фон */
.uv-bg-gray {
  background: var(--uv-gray-50) !important;
}

/* Темно-синій (без градієнту) */
.uv-bg-navy-flat {
  background: var(--uv-navy) !important;
  color: var(--uv-white);
}

.uv-bg-navy-flat h2,
.uv-bg-navy-flat h3 {
  color: var(--uv-white) !important;
}

/* Червоне світіння (декор для hero/CTA) */
.uv-glow::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   КАРТКИ — для послуг, переваг, кейсів
   ============================================ */

/* Базова картка послуги */
.uv-card {
  background: var(--uv-white);
  border: 1px solid var(--uv-gray-100);
  border-radius: 12px;
  padding: 36px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.uv-card:hover {
  border-color: var(--uv-navy);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(10, 31, 68, 0.08);
}

.uv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--uv-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}

.uv-card:hover::before {
  transform: scaleX(1);
}

/* Номери в картках (01, 02, 03...) */
.uv-card-num {
  font-family: var(--uv-display);
  font-weight: 800;
  font-size: 42px;
  color: var(--uv-gray-100);
  line-height: 1;
  margin-bottom: 18px;
  transition: color .3s;
}

.uv-card:hover .uv-card-num {
  color: var(--uv-accent);
}

/* Картка з акцентною лівою смугою */
.uv-card-accent {
  background: var(--uv-white);
  border: 1px solid var(--uv-gray-100);
  border-radius: 14px;
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}

.uv-card-accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--uv-accent);
}

/* ============================================
   СПИСКИ "БОЛІВ" (✕ у червоному)
   ============================================ */

.uv-pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.uv-pain-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.uv-pain-list li:last-child {
  border: none;
}

.uv-pain-list li::before {
  content: "✕";
  color: var(--uv-accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
}

/* Pain-картка на темному фоні */
.uv-pain-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.uv-pain-card h3 {
  font-family: var(--uv-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--uv-accent-soft) !important;
}

/* ============================================
   ДОКАЗОВИЙ ЛАНЦЮГ (Договір → Специфікації → ...)
   ============================================ */

.uv-evidence-chain {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.uv-evidence-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 18px;
  text-align: center;
  flex: 1;
  min-width: 130px;
  position: relative;
  transition: all .3s;
}

.uv-evidence-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--uv-accent);
  font-size: 22px;
  font-weight: 700;
  z-index: 3;
  background: var(--uv-navy);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uv-evidence-step:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--uv-accent);
}

.uv-evidence-name {
  font-family: var(--uv-display);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--uv-white);
}

.uv-evidence-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

/* ============================================
   FAQ (питання/відповіді) — для accordion-плагіна
   ============================================ */

.uv-faq-item {
  background: var(--uv-white);
  border: 1px solid var(--uv-gray-100);
  border-radius: 10px;
  overflow: hidden;
  transition: all .2s;
  margin-bottom: 12px;
}

.uv-faq-item[open],
.uv-faq-item.open {
  border-color: var(--uv-navy);
  box-shadow: 0 8px 24px rgba(10, 31, 68, 0.06);
}

/* Якщо FAQ через Essential Addons — стилізуй так */
.eael-accordion-list {
  border: 1px solid var(--uv-gray-100) !important;
  border-radius: 10px !important;
  margin-bottom: 12px !important;
  overflow: hidden;
}

.eael-accordion-header {
  font-family: var(--uv-display) !important;
  font-weight: 700 !important;
  font-size: 16.5px !important;
  color: var(--uv-navy) !important;
  padding: 22px 26px !important;
}

.eael-accordion-content {
  color: var(--uv-gray-700) !important;
  font-size: 15.5px !important;
  line-height: 1.7 !important;
  padding: 0 26px 24px !important;
}

/* ============================================
   ХЛІБНІ КРИХТИ (Breadcrumbs)
   ============================================ */

.uv-breadcrumbs {
  background: var(--uv-gray-50);
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--uv-gray-500);
  border-bottom: 1px solid var(--uv-gray-100);
}

.uv-breadcrumbs a {
  color: var(--uv-gray-500);
}

.uv-breadcrumbs a:hover {
  color: var(--uv-accent);
}

.uv-breadcrumbs .sep {
  margin: 0 8px;
  color: var(--uv-gray-300);
}

.uv-breadcrumbs .current {
  color: var(--uv-navy);
  font-weight: 600;
}

/* ============================================
   ФОРМА (Fluent Forms)
   ============================================ */

.ff-el-input--label label,
.uv-form .form-label {
  display: block !important;
  font-family: var(--uv-display) !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  color: var(--uv-navy) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 8px !important;
}

.ff-el-form-control,
.uv-form input,
.uv-form textarea,
.uv-form select {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1.5px solid var(--uv-gray-100) !important;
  border-radius: 8px !important;
  font-family: var(--uv-body) !important;
  font-size: 15px !important;
  color: var(--uv-navy) !important;
  background: var(--uv-white) !important;
  transition: all .2s !important;
}

.ff-el-form-control:focus,
.uv-form input:focus,
.uv-form textarea:focus,
.uv-form select:focus {
  outline: none !important;
  border-color: var(--uv-accent) !important;
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.08) !important;
}

.ff-btn-submit,
.uv-form button[type="submit"] {
  width: 100% !important;
  background: var(--uv-accent) !important;
  color: var(--uv-white) !important;
  padding: 16px !important;
  border-radius: var(--uv-radius) !important;
  font-family: var(--uv-body) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border: none !important;
  cursor: pointer;
  transition: all .2s !important;
}

.ff-btn-submit:hover,
.uv-form button[type="submit"]:hover {
  background: #c92e3a !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(230, 57, 70, 0.35);
}

/* ============================================
   СТАТТЯ БЛОГУ (single post)
   ============================================ */

.uv-article {
  max-width: 760px;
  margin: 0 auto;
}

.uv-article h2 {
  font-family: var(--uv-display);
  font-weight: 800;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--uv-navy);
  margin: 48px 0 20px;
  scroll-margin-top: 100px;
}

.uv-article h3 {
  font-family: var(--uv-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--uv-navy);
  margin: 32px 0 14px;
  line-height: 1.3;
}

.uv-article p {
  margin-bottom: 20px;
  color: var(--uv-gray-700);
  line-height: 1.75;
  font-size: 17px;
}

.uv-article p strong {
  color: var(--uv-navy);
  font-weight: 700;
}

.uv-article ul,
.uv-article ol {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style: none;
}

.uv-article ul li,
.uv-article ol li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--uv-gray-700);
  line-height: 1.7;
}

.uv-article ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: var(--uv-accent);
  border-radius: 50%;
}

.uv-article ol {
  counter-reset: list;
}

.uv-article ol li {
  padding-left: 36px;
  counter-increment: list;
}

.uv-article ol li::before {
  content: counter(list);
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--uv-navy);
  color: var(--uv-white);
  border-radius: 6px;
  font-family: var(--uv-display);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Callout-блоки (підказки в статті) */
.uv-callout {
  padding: 24px 28px;
  border-radius: 10px;
  margin: 28px 0;
  font-size: 16px;
  line-height: 1.65;
}

.uv-callout-info {
  background: var(--uv-gray-50);
  border-left: 4px solid var(--uv-navy);
  color: var(--uv-gray-700);
}

.uv-callout-warning {
  background: #fef5f6;
  border-left: 4px solid var(--uv-accent);
  color: var(--uv-gray-700);
}

.uv-callout-tip {
  background: #f0f7ff;
  border-left: 4px solid #2563eb;
  color: var(--uv-gray-700);
}

/* ============================================
   ВТОРИННІ ЕЛЕМЕНТИ
   ============================================ */

/* Розділова лінія між блоками */
.uv-divider {
  height: 1px;
  background: var(--uv-gray-100);
  border: none;
  margin: 40px 0;
}

/* Якірні відступи (щоб при кліку на якір не ховалось під nav) */
[id] {
  scroll-margin-top: 100px;
}

/* ============================================
   АДАПТИВ — мобільні екрани
   ============================================ */

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .uv-card,
  .uv-card-accent {
    padding: 28px 24px;
  }
  
  .uv-pain-card {
    padding: 24px;
  }
  
  .uv-evidence-chain {
    flex-direction: column;
    gap: 8px;
  }
  
  .uv-evidence-step::after {
    display: none !important;
  }
}
