/* ============================================================
   TIERS FII — Components CSS
   ============================================================ */

/* ── Alert Box ── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.alert-info { background: rgba(74,144,226,0.1); border: 1px solid rgba(74,144,226,0.25); color: var(--color-text); }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25); color: #FCD34D; }
.alert-success { background: rgba(37,211,102,0.1); border: 1px solid rgba(37,211,102,0.25); color: #4ADE80; }
.alert i { flex-shrink: 0; margin-top: 0.1rem; }

/* ── Tags / Badges ── */
.badge { display: inline-block; padding: 0.2rem 0.65rem; border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; }
.badge-primary { background: rgba(26,79,163,0.2); color: var(--color-accent-light); border: 1px solid rgba(74,144,226,0.2); }
.badge-accent { background: rgba(74,144,226,0.15); color: #93C5FD; }
.badge-success { background: rgba(37,211,102,0.15); color: #4ADE80; }
.badge-neutral { background: rgba(255,255,255,0.08); color: var(--color-muted); }

/* ── Number Counter ── */
.counter { display: inline-block; }

/* ── Loader ── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { display: flex; align-items: center; gap: 0.75rem; }
.loader-logo-name { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: var(--color-white); }
.loader-logo-tag { font-size: 0.7rem; font-weight: 600; color: var(--color-accent-light); letter-spacing: 0.15em; text-transform: uppercase; }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; background: var(--grad-text); border-radius: 2px; animation: loaderFill 1.2s ease forwards; }
@keyframes loaderFill { from { width: 0; } to { width: 100%; } }
.loader-text { font-size: 0.78rem; color: var(--color-muted); letter-spacing: 0.1em; text-transform: uppercase; }

/* ── Section Background Variants ── */
.bg-surface { background: var(--color-surface); }
.bg-alt { background: var(--color-bg-alt); }
.bg-dark { background: var(--color-bg); }

/* ── Horizontal Rule ── */
.hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }

/* ── Feature List ── */
.feature-list { display: flex; flex-direction: column; gap: 0.875rem; }
.feature-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.925rem; color: var(--color-text); }
.feature-item i { color: var(--color-accent-light); flex-shrink: 0; margin-top: 0.15rem; font-size: 1rem; }

/* ── Partners / Logos strip ── */
.partners-strip { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; padding: 1rem 0; }
.partner-item { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; text-transform: uppercase; transition: color var(--transition-fast); }
.partner-item:hover { color: rgba(255,255,255,0.5); }

/* ── Notification toast ── */
.toast {
  position: fixed;
  top: 6rem;
  right: 2rem;
  z-index: 9999;
  background: var(--color-surface);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  transform: translateX(120%);
  transition: transform 0.4s ease;
}
.toast.show { transform: translateX(0); }
.toast i { color: #4ADE80; font-size: 1.1rem; flex-shrink: 0; }

/* ── Sticky sidebar table of contents ── */
.toc { position: sticky; top: 7rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1.5rem; }
.toc-title { font-size: 0.78rem; font-weight: 700; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.toc-link { display: block; font-size: 0.85rem; color: var(--color-muted); padding: 0.35rem 0; border-left: 2px solid transparent; padding-left: 0.75rem; transition: all var(--transition-fast); }
.toc-link:hover, .toc-link.active { color: var(--color-accent-light); border-left-color: var(--color-accent); }

/* ── Map container ── */
.map-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border); }
.map-container iframe { width: 100%; height: 400px; display: block; border: 0; }

/* ── Skip to content (a11y) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  z-index: 99999;
  font-weight: 700;
  border-radius: 0 0 var(--radius-md) 0;
  transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; }

/* ── Section separator ── */
.section-sep { width: 100%; height: 1px; background: linear-gradient(to right, transparent, var(--color-border), transparent); margin: var(--space-xl) 0; }

/* ── Responsive tables ── */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { background: var(--color-surface); color: var(--color-muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.875rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.data-table td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--color-border); color: var(--color-text); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Service detail page ── */
.service-detail-hero { background: var(--grad-primary); }
.service-detail-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: var(--radius-lg); font-size: 2.2rem; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.15); }

/* ── Video embed ── */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; background: var(--color-surface); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.video-play-btn::before { content: '▶'; font-size: 3rem; color: white; background: rgba(26,79,163,0.8); width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all var(--transition-normal); }

/* ── Blog article page ── */
.article-hero { aspect-ratio: 21/9; overflow: hidden; border-radius: var(--radius-xl); margin-bottom: 3rem; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { font-family: var(--font-heading); font-size: 1.75rem; color: var(--color-white); margin: 2rem 0 1rem; }
.article-body h3 { font-size: 1.25rem; color: var(--color-white); margin: 1.5rem 0 0.75rem; }
.article-body p { color: var(--color-muted); line-height: 1.9; margin-bottom: 1.25rem; font-size: 0.975rem; }
.article-body ul { margin: 1rem 0 1.25rem 1.5rem; }
.article-body ul li { color: var(--color-muted); font-size: 0.975rem; line-height: 1.8; margin-bottom: 0.4rem; list-style: disc; }
.article-body blockquote { border-left: 3px solid var(--color-accent); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--color-surface); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-style: italic; color: var(--color-text); }
.article-meta { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--color-muted); }
.article-author { display: flex; align-items: center; gap: 0.5rem; }
.article-share { display: flex; gap: 0.5rem; align-items: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.share-label { font-size: 0.82rem; color: var(--color-muted); font-weight: 600; }

/* ── Print ── */
@media print {
  .navbar, .footer, .whatsapp-float, .back-to-top, .cookie-banner, .page-loader { display: none !important; }
  body { background: white; color: black; }
}
