/* ============================================================
   ПНЕВМО ТОП — Components
   components.css — Cards, badges, ratings, FAQ, forms, tables
   ============================================================ */

/* ===================== 1. RATING STARS ================== */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.stars__icon {
  color: var(--c-star);
  font-size: 14px;
  line-height: 1;
}

.stars__icon.empty { color: var(--c-border); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--c-success-bg);
  color: var(--c-success);
  font-weight: 700;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.rating-badge .star { color: var(--c-star); }

.rating-badge-lg {
  font-size: 18px;
  padding: 6px 14px;
}

/* ===================== 2. BADGES & TAGS ================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  background: var(--c-surface);
  white-space: nowrap;
}

.badge-accent {
  background: rgba(245,196,0,0.12);
  border-color: rgba(245,196,0,0.3);
  color: #9A7A00;
}

.badge-dark {
  background: var(--c-dark-3);
  border-color: var(--c-dark-border);
  color: var(--c-text-inv-muted);
}

.badge-success {
  background: var(--c-success-bg);
  border-color: rgba(31,157,85,0.2);
  color: var(--c-success);
}

.badge-top {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-text);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ===================== 3. COMPANY CARDS ================= */

/* --- Standard list card --- */
.company-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
  position: relative;
}

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

.company-card__rank {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: var(--c-surface-dark);
  color: var(--c-accent);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  z-index: 2;
  line-height: 1;
}

.company-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.company-card__img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--c-surface-soft) 0%, var(--c-border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-light);
  font-size: 40px;
}

.company-card__body {
  padding: var(--space-lg);
}

.company-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.company-card__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}

.company-card__city {
  font-size: 13px;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.company-card__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.company-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  font-size: 13px;
  color: var(--c-text-muted);
}

.company-card__price {
  font-weight: 600;
  color: var(--c-text);
}

.company-card__tags {
  margin-bottom: var(--space-lg);
}

.company-card__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --- TOP 1-3 featured card --- */
.company-card-top {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--trans-slow), transform var(--trans-slow);
  position: relative;
}

.company-card-top:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.company-card-top.rank-1 {
  border-color: var(--c-accent);
  box-shadow: 0 4px 32px rgba(245,196,0,0.15);
}

.company-card-top.rank-1:hover {
  box-shadow: 0 12px 60px rgba(245,196,0,0.25);
}

.company-card-top__crown {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--c-accent);
  color: var(--c-accent-text);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-bottom-left-radius: var(--radius-lg);
  z-index: 3;
}

.company-card-top__gallery {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.company-card-top__gallery-inner {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.company-card-top__gallery-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.company-card-top__gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card-top__gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background var(--trans);
}

.gallery-dot.active { background: var(--c-accent); }

.company-card-top__rank-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 52px;
  height: 52px;
  background: var(--c-surface-dark);
  border: 2px solid var(--c-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  color: var(--c-accent);
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.company-card-top__body {
  padding: var(--space-lg);
}

.company-card-top__header {
  margin-bottom: var(--space-md);
}

.company-card-top__name {
  font-size: 22px;
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: 6px;
}

.company-card-top__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.company-card-top__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.company-card-top__advantages {
  margin-bottom: var(--space-lg);
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-text);
  padding: 4px 0;
}

.advantage-item::before {
  content: '✓';
  color: var(--c-success);
  font-weight: 700;
  flex-shrink: 0;
}

.company-card-top__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ===================== 4. ARTICLE CARDS ================= */
.article-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--trans), transform var(--trans);
  display: flex;
  flex-direction: column;
}

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

.article-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card__img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--c-surface-soft) 0%, var(--c-border) 100%);
}

.article-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 12px;
  color: var(--c-text-light);
  margin-bottom: var(--space-sm);
}

.article-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  flex: 1;
}

.article-card:hover .article-card__title { color: var(--c-link-hover); }

.article-card__excerpt {
  font-size: 14px;
  color: var(--c-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.article-card__readmore {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-link);
  margin-top: auto;
  transition: color var(--trans);
}

/* ===================== 5. CITY / SERVICE / PROBLEM TILES */
.tile-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--trans), transform var(--trans);
  display: block;
  position: relative;
}

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

.tile-card__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.tile-card__img-placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--c-surface-dark) 0%, var(--c-dark-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--c-accent);
}

.tile-card__body {
  padding: var(--space-md) var(--space-lg);
}

.tile-card__name {
  font-weight: 700;
  font-size: 16px;
  color: var(--c-text);
  margin-bottom: 4px;
}

.tile-card__sub {
  font-size: 13px;
  color: var(--c-text-muted);
}

.tile-card__arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--c-accent);
  font-size: 18px;
  opacity: 0;
  transition: opacity var(--trans), transform var(--trans);
}

.tile-card:hover .tile-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* Problem tiles (dark style) */
.problem-tile {
  background: var(--c-surface-dark);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  transition: all var(--trans);
}

.problem-tile:hover {
  border-color: var(--c-accent);
  background: #1A1A1A;
}

.problem-tile__icon {
  width: 44px;
  height: 44px;
  background: rgba(245,196,0,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.problem-tile__text {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-inv);
  line-height: 1.4;
}

.problem-tile__arrow {
  color: var(--c-text-inv-muted);
  font-size: 18px;
  transition: all var(--trans);
}

.problem-tile:hover .problem-tile__arrow { color: var(--c-accent); transform: translateX(3px); }

/* ===================== 6. FAQ ACCORDION ================= */
.faq { width: 100%; }

.faq__item {
  border-bottom: 1px solid var(--c-border);
}

.faq__item:first-child { border-top: 1px solid var(--c-border); }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  text-align: left;
  background: none;
  transition: color var(--trans);
}

.faq__trigger:hover { color: var(--c-accent); }

.faq__trigger.is-open { color: var(--c-accent); }

.faq__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--c-text-muted);
  transition: all var(--trans);
  line-height: 1;
}

.faq__trigger.is-open .faq__icon {
  border-color: var(--c-accent);
  color: var(--c-accent);
  transform: rotate(45deg);
}

.faq__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

.faq__body.is-open { max-height: 1000px; }

.faq__content {
  padding-bottom: var(--space-lg);
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ===================== 7. LEAD FORM ==================== */
.lead-form-section {
  background: var(--c-surface-dark);
  padding: var(--section-py) 0;
  color: var(--c-text-inv);
}

.lead-form-section .section-header h2 { color: var(--c-text-inv); }
.lead-form-section .section-header p  { color: var(--c-text-inv-muted); }

.lead-form {
  background: var(--c-dark-2);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 640px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text-inv-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--c-dark-3);
  border: 1px solid var(--c-dark-border);
  border-radius: var(--radius-md);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--c-text-inv);
  transition: border-color var(--trans);
  appearance: none;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.25); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(245,196,0,0.15);
}

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

.form-submit {
  margin-top: var(--space-md);
  text-align: center;
}

.form-submit .btn { width: 100%; }

.form-note {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: var(--space-md);
}

/* ===================== 8. CTA BANNER =================== */
.cta-banner {
  background: linear-gradient(135deg, var(--c-surface-dark) 0%, #1A1600 100%);
  border: 1px solid rgba(245,196,0,0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(245,196,0,0.1), transparent);
  pointer-events: none;
}

.cta-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner h2 {
  color: var(--c-text-inv);
  font-size: clamp(22px, 3vw, 34px);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: var(--c-text-inv-muted);
  max-width: 480px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  position: relative;
}

/* ===================== 9. COMPARISON TABLE ============== */
.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}

.comparison-table {
  min-width: 700px;
}

.comparison-table thead {
  background: var(--c-surface-soft);
}

.comparison-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-muted);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.comparison-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  vertical-align: middle;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:hover td { background: var(--c-surface-soft); }

.comparison-table td:first-child { font-weight: 600; }

/* ===================== 10. PRICE TABLE ================= */
.price-table {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.price-table__header {
  background: var(--c-surface-dark);
  padding: var(--space-lg);
  color: var(--c-text-inv);
}

.price-table__header h3 { color: var(--c-text-inv); font-size: 18px; }

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 14px var(--space-lg);
  border-bottom: 1px solid var(--c-border);
}

.price-row:last-child { border-bottom: none; }

.price-row:hover { background: var(--c-surface-soft); }

.price-row__name { font-size: 14px; color: var(--c-text); flex: 1; }

.price-row__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
}

.price-row__note {
  font-size: 12px;
  color: var(--c-text-light);
  margin-top: 2px;
}

/* ===================== 11. QUICK STATS ================= */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}

.stat-card.dark {
  background: var(--c-dark-2);
  border-color: var(--c-dark-border);
}

.stat-card__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card__label {
  font-size: 13px;
  color: var(--c-text-muted);
}

.stat-card.dark .stat-card__label { color: var(--c-text-inv-muted); }

/* ===================== 12. PROS BLOCK ================== */
.pros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pro-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
}

.pro-card__icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.pro-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pro-card__text {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ===================== 13. RELATED LINKS ================ */
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: all var(--trans);
  background: var(--c-surface);
}

.related-link:hover {
  border-color: var(--c-accent);
  color: var(--c-text);
  background: rgba(245,196,0,0.05);
}

/* ===================== 14. SEO TEXT ==================== */
.seo-text {
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 760px;
}

.seo-text h2 { font-size: 22px; color: var(--c-text); margin: var(--space-xl) 0 var(--space-md); }
.seo-text h3 { font-size: 18px; color: var(--c-text); margin: var(--space-lg) 0 var(--space-sm); }
.seo-text p  { color: var(--c-text-muted); }
.seo-text ul { padding-left: var(--space-lg); }
.seo-text li { margin-bottom: 6px; list-style: disc; }

/* ===================== 15. BLOG ARTICLE ================ */
.article-content {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
}

.article-content h2 {
  font-size: 24px;
  margin: var(--space-2xl) 0 var(--space-md);
  color: var(--c-text);
}

.article-content h3 {
  font-size: 19px;
  margin: var(--space-xl) 0 var(--space-sm);
}

.article-content p { margin-bottom: var(--space-md); }

.article-content ul,
.article-content ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.article-content li { margin-bottom: 6px; list-style: disc; }
.article-content ol li { list-style: decimal; }

.article-content table {
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.article-content th {
  background: var(--c-surface-soft);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-muted);
  text-align: left;
  border-bottom: 1px solid var(--c-border);
}

.article-content td {
  padding: 10px 14px;
  font-size: 14px;
  border-bottom: 1px solid var(--c-border);
}

.article-content tr:last-child td { border-bottom: none; }
.article-content tr:nth-child(even) td { background: var(--c-surface-soft); }

.article-content strong { font-weight: 700; color: var(--c-text); }
.article-content em { font-style: italic; }

/* ===================== 16. PROBLEM PAGE SPECIFICS ======= */
.symptom-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-md) 0;
}

.symptom-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: 14px;
  color: var(--c-text);
}

.symptom-item::before {
  content: '⚠';
  color: var(--c-accent);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.cause-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cause-item {
  border-left: 3px solid var(--c-accent);
  padding: var(--space-md) var(--space-lg);
  background: var(--c-surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.cause-item__title {
  font-weight: 700;
  font-size: 15px;
  color: var(--c-text);
  margin-bottom: 4px;
}

.cause-item__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.can-you-drive-box {
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid;
}

.can-you-drive-box.safe {
  background: var(--c-success-bg);
  border-color: rgba(31,157,85,0.3);
}

.can-you-drive-box.caution {
  background: rgba(245,196,0,0.06);
  border-color: rgba(245,196,0,0.3);
}

.can-you-drive-box.danger {
  background: rgba(220,38,38,0.05);
  border-color: rgba(220,38,38,0.2);
}

.can-you-drive-box h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

/* ===================== 17. GALLERY ====================== */
.gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  aspect-ratio: 16/9;
}

.gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.gallery__slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.6);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  z-index: 2;
  transition: background var(--trans);
  border: none;
}

.gallery__btn:hover { background: rgba(0,0,0,0.85); }
.gallery__btn--prev { left: 12px; }
.gallery__btn--next { right: 12px; }

.gallery__dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

/* ===================== 18. ALERT / INFO BOX ============ */
.info-box {
  background: rgba(245,196,0,0.08);
  border: 1px solid rgba(245,196,0,0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
}

.info-box__icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.info-box__text { font-size: 14px; color: var(--c-text); line-height: 1.7; }

/* ===================== 19. STEPS GRID ================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: var(--c-border);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-card__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-text);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-family: var(--font-display);
  box-shadow: 0 0 0 6px var(--c-bg);
}

.step-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.step-card__text {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* Steps on dark background */
.steps-grid--dark .step-card__num {
  box-shadow: 0 0 0 6px var(--c-surface-dark);
}

/* ===================== 20. PRICING GRID ================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.pricing-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  transition: box-shadow 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.pricing-card--featured {
  border-color: var(--c-accent);
  box-shadow: 0 4px 32px rgba(245,196,0,0.2);
  transform: translateY(-8px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card__name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--c-text);
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--c-text-muted);
  margin-left: 4px;
}

.pricing-card__desc {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--c-border);
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--c-text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--c-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  background: var(--c-bg);
  color: var(--c-text);
  border: 1px solid var(--c-border);
}

.pricing-card--featured .pricing-card__cta {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-text);
}

.pricing-card__cta:hover {
  opacity: 0.85;
}

/* ===================== 21. CONTACT GRID ================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: var(--shadow-card);
}

.contact-card__icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(245,196,0,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: 4px;
}

.contact-card__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-text);
  text-decoration: none;
}

.contact-card__value:hover { color: var(--c-accent-dark); }

.contact-card__sub {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 2px;
}

.contact-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  border: 1px solid var(--c-border);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===================== 22. CONTACT FORM (light) ======== */
.contact-form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  max-width: 680px;
  margin: 0 auto;
}

.contact-form-wrap h3 {
  margin-bottom: var(--space-lg);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.contact-form .field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  padding: 11px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color 0.2s;
  outline: none;
}

.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus {
  border-color: var(--c-accent);
}

.contact-form .field textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- Generic form utility classes (used in contacts page) ---- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text);
}

.form-input {
  padding: 11px 16px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--c-accent);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ---- Benefit cards (for-services page) ---- */
.benefit-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  transition: box-shadow 0.2s;
}

.benefit-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.benefit-card__icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}

.benefit-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 6px;
}

.benefit-card__text {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ---- Plan cards (for-services pricing) ---- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.plan-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  transition: box-shadow 0.2s;
}

.plan-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.plan-card--popular {
  border-color: var(--c-accent);
  box-shadow: 0 4px 32px rgba(245,196,0,0.2);
  transform: translateY(-8px);
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-card__tier {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-muted);
  margin-bottom: var(--space-sm);
}

.plan-card__price {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-display);
  color: var(--c-text);
  margin-bottom: 4px;
}

.plan-card__price-val {
  font-size: 38px;
  font-weight: 800;
}

.plan-card__price-note {
  font-size: 16px;
  font-weight: 400;
  color: var(--c-text-muted);
  margin-left: 4px;
}

.plan-card__desc {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--c-border);
}

.plan-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-card__features li {
  font-size: 14px;
  color: var(--c-text);
  padding-left: 22px;
  position: relative;
}

.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

/* ===================== 23. RESPONSIVE COMPONENTS ======= */
@media (max-width: 1024px) {
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .pros-grid   { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card--popular { transform: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { height: 300px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .pros-grid   { grid-template-columns: 1fr; }

  .lead-form { padding: var(--space-lg); }
  .form-grid { grid-template-columns: 1fr; }

  .company-card-top__gallery { height: 200px; }
  .cta-banner { padding: var(--space-xl) var(--space-lg); }

  .comparison-table-wrap { border-radius: var(--radius-md); }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: var(--space-md); }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: var(--space-lg); }
}

@media (max-width: 480px) {
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .company-card-top__actions { flex-direction: column; }
  .steps-grid { grid-template-columns: 1fr; }
}
