/* ==========================================================================
   ФОП Баланс - Головні стилі (Версія 4.0 Pro: Усі компоненти)
   - Темна / Світла теми
   - Статус "Онлайн"
   - Калькулятор податків і тарифів
   - FAQ-акордеон
   - Порівняльна таблиця (Comparison Matrix)
   - Податковий календар
   - Блок фінансової гарантії та міні-кейси
   - Плаваючий віджет месенджерів (Telegram / Viber)
   - Scroll Reveal анімації
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-light: #ccfbf1;
  --primary-glow: rgba(15, 118, 110, 0.3);
  --secondary: #18181b;
  --secondary-light: #52525b;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --card-bg: #ffffff;
  --text-main: #18181b;
  --text-muted: #71717a;
  --border-color: #e4e4e7;
  --green-border: #0f766e;
  --green-bg-light: #f0fdfa;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px -2px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1200px;
}

[data-theme="dark"] {
  --bg-light: #121214;
  --bg-white: #1a1a1e;
  --card-bg: #1e1e24;
  --secondary: #ffffff;
  --secondary-light: #a1a1aa;
  --text-main: #f4f4f5;
  --text-muted: #8b8b94;
  --border-color: #2e2e36;
  --primary: #14b8a6;
  --primary-hover: #0d9488;
  --primary-light: #162a28;
  --primary-glow: rgba(20, 184, 166, 0.4);
  --green-border: #14b8a6;
  --green-bg-light: #152726;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.6);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.7);
}

[data-theme="dark"] .site-header {
  background-color: #16161a;
  border-bottom-color: #27272e;
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #121214 0%, #1e1e24 100%);
  border-bottom-color: #27272e;
}

[data-theme="dark"] .section-white {
  background-color: #16161a;
}

[data-theme="dark"] .form-control {
  background-color: #141418;
  color: #f4f4f5;
  border-color: #3b3b44;
}

[data-theme="dark"] .svg-bg {
  fill: #121214;
}

[data-theme="dark"] .svg-window {
  fill: #1a1a1e;
  stroke: #2e2e36;
}

[data-theme="dark"] .svg-chart-box {
  fill: #141418;
  stroke: #2e2e36;
}

[data-theme="dark"] .logo-text-fop {
  fill: #ffffff !important;
}

/* ==========================================================================
   Базові стилі
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.required {
  color: #ef4444;
  font-weight: 700;
  margin-left: 2px;
}

/* ==========================================================================
   Header & Навігація + Пульсуючий статус Онлайн
   ========================================================================== */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 185px;
  height: 44px;
  flex-shrink: 0;
}

/* Індикатор онлайн */
.online-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--green-bg-light);
  border: 1px solid var(--green-border);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.history-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-arrow-btn {
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color);
  color: var(--secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-btn {
  background: var(--card-bg);
  border: 1.5px solid var(--border-color);
  color: var(--secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   Кнопки з фірмовим зеленим підсвічуванням
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.btn:hover,
.header-cta:hover,
.nav-arrow-btn:hover,
.theme-toggle-btn:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px var(--primary-glow) !important;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--secondary) !important;
}

.header-cta {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

/* ==========================================================================
   Плаваючий віджет швидкого зв'язку (Telegram & Viber)
   ========================================================================== */
.floating-messengers {
  position: fixed;
  left: 22px;
  bottom: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.messenger-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.messenger-pill.telegram {
  background-color: #229ed9;
}

.messenger-pill.viber {
  background-color: #7360f2;
}

.messenger-pill:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* Плаваюча бічна кнопка "Швидкий старт" на сторінці Про нас */
.side-quick-start-btn {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  background-color: var(--primary);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.35);
  transition: all 0.25s ease;
  cursor: pointer;
  animation: pulse-glow 3s infinite;
}

.side-quick-start-btn:hover {
  background-color: var(--primary-hover) !important;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px var(--primary-glow) !important;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 4px 16px rgba(15, 118, 110, 0.3); }
  50% { box-shadow: 0 4px 22px rgba(15, 118, 110, 0.55); }
  100% { box-shadow: 0 4px 16px rgba(15, 118, 110, 0.3); }
}

/* Кнопка повернення зі стрілкою */
.page-nav-bar {
  margin-bottom: 2rem;
}

.nav-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.nav-back-pill:hover {
  background-color: var(--primary);
  color: #ffffff !important;
  border-color: var(--primary);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ==========================================================================
   Hero Секція
   ========================================================================== */
.hero {
  padding: 3.5rem 0 3rem;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-title {
  font-size: 2.35rem;
  line-height: 1.25;
  color: var(--secondary);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

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

.hero-image-wrapper {
  background: var(--card-bg);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Секції & Заголовки
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-white {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.25rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.title-no-wrap {
  white-space: nowrap;
}

.title-accent-line {
  width: 64px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 9999px;
  margin: 0.85rem auto 1.25rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Податковий календар
   ========================================================================== */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.calendar-card {
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.calendar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.calendar-date {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.calendar-card h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.calendar-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Інтерактивний калькулятор податків і тарифів
   ========================================================================== */
.calc-box {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-output {
  background-color: var(--green-bg-light);
  border: 2px solid var(--green-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.calc-recommended-badge {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.calc-tariff-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.calc-tariff-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.calc-taxes-est {
  font-size: 0.95rem;
  color: var(--secondary-light);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Блок фінансової гарантії
   ========================================================================== */
.guarantee-box {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--green-bg-light) 100%);
  border: 2px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-md);
}

.guarantee-icon-box {
  width: 72px;
  height: 72px;
  background-color: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-content h3 {
  font-size: 1.45rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.guarantee-content p {
  color: var(--secondary-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==========================================================================
   Міні-кейси реальних клієнтів
   ========================================================================== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.case-card {
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.case-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: fit-content;
}

.case-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.case-problem {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.case-solution {
  background-color: var(--green-bg-light);
  border-left: 3px solid var(--primary);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
  margin-top: auto;
}

/* ==========================================================================
   FAQ Акордеон
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.is-open {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.35rem 1.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.75rem;
  color: var(--secondary-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.is-open .faq-answer {
  max-height: 250px;
  padding: 0 1.75rem 1.35rem;
}

/* ==========================================================================
   Порівняльна таблиця (Comparison Matrix)
   ========================================================================== */
.comparison-wrapper {
  overflow-x: auto;
  margin: 3.5rem 0 2rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  background: var(--card-bg);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.comparison-table th, .comparison-table td {
  padding: 1.1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--secondary);
  width: 40%;
}

.comparison-table thead th {
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.05rem;
}

.comparison-table thead th.featured-col {
  background-color: var(--primary);
  color: #fff;
}

.check-yes {
  color: #10b981;
  font-weight: 800;
  font-size: 1.2rem;
}

.check-no {
  color: #cbd5e1;
  font-weight: 700;
}

/* ==========================================================================
   Scroll Reveal Анімація
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Інші стилі (картки, принципи, контакти) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background-color: var(--card-bg);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  background-color: var(--primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.75rem;
}

.principle-card {
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.principle-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.principle-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 1rem;
}

.principle-card h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.principle-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.subscription-card-box {
  background: linear-gradient(135deg, var(--card-bg) 0%, var(--primary-light) 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 3.25rem 2.5rem;
  margin-top: 3.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.subscription-card-box h3 {
  font-size: 1.9rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.subscription-card-box p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

.subscription-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sub-badge-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.12);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.85rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.pricing-target {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.pricing-title {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--secondary);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: normal;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--secondary);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-action {
  margin-top: auto;
}

.pricing-action .btn {
  width: 100%;
}

.proposal-detail {
  padding: 3rem 0;
}

.proposal-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
}

.proposal-main {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.proposal-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.proposal-card-box {
  background-color: var(--card-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md);
}

.content-block {
  margin-bottom: 2rem;
}

.content-block h2 {
  font-size: 1.4rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.content-block p {
  color: var(--secondary-light);
  margin-bottom: 0.75rem;
}

.work-process-box {
  border: 2.5px solid var(--green-border);
  background-color: var(--green-bg-light);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 2.25rem 0;
  box-shadow: 0 4px 15px rgba(15, 118, 110, 0.12);
}

.work-process-box h2 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.work-steps-list {
  list-style: none;
  counter-reset: step-counter;
}

.work-steps-list li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 0.85rem;
  color: var(--secondary);
  font-size: 1rem;
  font-weight: 500;
}

.work-steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: -2px;
  width: 26px;
  height: 26px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.checklist {
  list-style: none;
  margin-top: 0.5rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-light);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info-card, .contact-form-card {
  background: var(--card-bg);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-title {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.95rem;
}

.contact-item-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-sla-badge {
  background-color: var(--green-bg-light);
  border: 1px solid var(--green-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: var(--bg-light);
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  display: none;
}

.form-status.success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  display: block;
}

.site-footer {
  margin-top: auto;
  background-color: #141416;
  color: #94a3b8;
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid #222228;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #222228;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--secondary);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  .title-no-wrap {
    white-space: normal;
  }
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .proposal-layout {
    grid-template-columns: 1fr;
  }
  .proposal-sidebar {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc-box {
    grid-template-columns: 1fr;
  }
  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    display: none;
    gap: 1rem;
  }
  .nav-menu.is-active {
    display: flex;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  .floating-messengers {
    left: 14px;
    bottom: 16px;
  }
  .side-quick-start-btn {
    right: 14px;
    bottom: 16px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}
