/* ============================================
   Dax Design System v1.0.0 — é-marche
   Couleurs Daelmed : #0049DC (primary)
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #0049DC;
  --primary-rgb: 0, 73, 220;
  --primary-dark: #0037B3;
  --primary-darker: #00288A;
  --primary-light: #3B82F6;
  --primary-lighter: #E8F0FE;
  --primary-gradient: linear-gradient(135deg, #0049DC 0%, #3B82F6 100%);
  --primary-gradient-alt: linear-gradient(145deg, #00288A 0%, #0049DC 45%, #3B82F6 100%);

  --secondary: #10B981;
  --secondary-rgb: 16, 185, 129;
  --secondary-dark: #059669;
  --secondary-light: #6EE7B7;
  --heading-font: 'Plus Jakarta Sans', 'Urbanist', sans-serif;

  --body-font: 'Urbanist', sans-serif;

  --container: 1310px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(var(--primary-rgb), 0.08);
  --shadow-md: 0 4px 24px rgba(var(--primary-rgb), 0.10);
  --shadow-lg: 0 8px 40px rgba(var(--primary-rgb), 0.14);
  --shadow-xl: 0 16px 48px rgba(var(--primary-rgb), 0.18);

  --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);

  --dax-heading: #111827;
  --dax-text: #374151;
  --dax-muted: #6b7280;
  --dax-slate: #64748b;
  --dax-border: #e5e7eb;
  --dax-input-line: #d1d5db;
  --dax-dim: #9ca3af;
}

/* --- Container Dax (1310px) --- */
.tg-container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) { .tg-container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .tg-container { padding-left: 2rem; padding-right: 2rem; } }

/* --- Buttons --- */
.tg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.tg-btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}
.tg-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.45);
}
.tg-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}
.tg-btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.tg-btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.20);
}
.tg-btn-white:hover {
  background: var(--primary-lighter);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.30);
}
.tg-btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--dax-border);
}
.tg-btn-ghost:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

/* --- Section Headings (tg-heading-subheading) --- */
.tg-heading-subheading {
  text-align: center;
  margin-bottom: 3rem;
}
.tg-subheading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}
.tg-element-title {
  font-family: var(--heading-font);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--dax-heading);
  margin-bottom: 0.75rem;
}
.tg-element-title .tg-highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tg-heading-desc {
  font-size: 1rem;
  color: var(--dax-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* --- Hero Section --- */
.tg-hero {
  position: relative;
  overflow: hidden;
  background: var(--primary-gradient-alt);
  padding: 8rem 0 5rem;
}
@media (min-width: 768px) { .tg-hero { padding: 12rem 0 6rem; } }
.tg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 1rem 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}
.tg-hero-badge span {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}
.tg-hero-title {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.tg-hero-title .tg-hero-highlight {
  color: #93c5fd;
}
.tg-hero-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.tg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Hero entrance animations */
.tg-hero-enter .tg-hero-badge,
.tg-hero-enter .tg-hero-title,
.tg-hero-enter .tg-hero-text,
.tg-hero-enter .tg-hero-actions {
  opacity: 0;
  transform: translateY(30px);
  animation: tg-hero-fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.tg-hero-enter .tg-hero-badge { animation-delay: 0.1s; }
.tg-hero-enter .tg-hero-title { animation-delay: 0.25s; }
.tg-hero-enter .tg-hero-text  { animation-delay: 0.4s; }
.tg-hero-enter .tg-hero-actions { animation-delay: 0.55s; }
@keyframes tg-hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* Button :active states */
.tg-btn:active { transform: scale(0.96); }
.tg-btn-white:active { box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.15); }
.tg-btn-primary:active { box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.2); }

/* Login left panel entrance */
@keyframes tg-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.tg-float-anim { animation: tg-float 4s ease-in-out infinite; }
.tg-float-anim-delay { animation: tg-float 4s ease-in-out 2s infinite; }

/* Contact form live validation */
.tg-form-input.tg-field-error { border-color: #ef4444; background: rgba(239, 68, 68, 0.04); }
.tg-form-input.tg-field-success { border-color: #10b981; background: rgba(16, 185, 129, 0.04); }
.tg-form-textarea.tg-field-error { border-color: #ef4444; background: rgba(239, 68, 68, 0.04); }
.tg-form-textarea.tg-field-success { border-color: #10b981; background: rgba(16, 185, 129, 0.04); }

/* --- Cards --- */
.tg-card {
  background: #fff;
  border: 1px solid var(--dax-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.tg-card:hover {
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.10);
  border-color: var(--primary-light);
  transform: translateY(-3px);
}
.tg-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.tg-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}
.tg-card:hover .tg-card-icon {
  transform: rotate(-6deg) scale(1.08);
}
.tg-card-chip {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.tg-card-title {
  font-family: var(--heading-font);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dax-heading);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.tg-card-desc {
  font-size: 0.9rem;
  color: var(--dax-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.tg-card-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tg-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--dax-border);
  background: #f9fafb;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dax-text);
  transition: var(--transition);
  text-decoration: none;
}
.tg-card-link .l {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.tg-card-link .arr {
  font-size: 0.7rem;
  color: var(--dax-dim);
  transition: transform 0.2s, color 0.2s;
}
.tg-card-link:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
  color: var(--primary);
}
.tg-card-link:hover .arr {
  transform: translateX(3px);
  color: var(--primary);
}

/* --- Feature Cards --- */
.tg-feature-card {
  background: #fff;
  border: 1px solid var(--dax-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.tg-feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.tg-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.tg-feature-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--dax-heading);
  margin-bottom: 0.35rem;
}
.tg-feature-desc {
  font-size: 0.85rem;
  color: var(--dax-muted);
  line-height: 1.6;
}

/* --- Stats Cards --- */
.tg-stats-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 768px) { .tg-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.tg-stat-card {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(var(--primary-rgb), 0.07);
  transition: var(--transition);
}
.tg-stat-card:hover {
  box-shadow: 0 16px 48px rgba(var(--primary-rgb), 0.14);
  transform: translateY(-4px);
}
.tg-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}
.tg-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  font-family: var(--heading-font);
}
.tg-stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dax-slate);
}
.tg-stat-line {
  width: 36px;
  height: 4px;
  margin: 1rem auto 0;
  border-radius: var(--radius-full);
}

/* --- Pricing Cards --- */
.tg-pricing-card {
  background: #fff;
  border: 1px solid var(--dax-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.tg-pricing-card:hover { box-shadow: var(--shadow-lg); }
.tg-pricing-card.tg-popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.20);
  transform: scale(1.05);
}
@media (max-width: 767px) {
  .tg-pricing-card.tg-popular { transform: none; }
}
.tg-pricing-badge {
  display: block;
  text-align: center;
  margin-top: -3rem;
  margin-bottom: 1.5rem;
}
.tg-pricing-badge span {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}
.tg-pricing-name {
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dax-heading);
  margin-bottom: 0.25rem;
}
.tg-pricing-desc {
  font-size: 0.9rem;
  color: var(--dax-muted);
}
.tg-pricing-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dax-heading);
  font-family: var(--heading-font);
}
.tg-pricing-period {
  font-size: 0.9rem;
  color: var(--dax-slate);
}
.tg-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tg-pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--dax-text);
}
.tg-pricing-features li i {
  color: var(--primary);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.tg-pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.tg-pricing-btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.25);
}
.tg-pricing-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--primary-rgb), 0.35);
}
.tg-pricing-btn-ghost {
  border: 2px solid var(--dax-border);
  color: var(--dax-text);
}
.tg-pricing-btn-ghost:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
  color: var(--primary);
}
.tg-pricing-btn-dark {
  background: var(--dax-heading);
  color: #fff;
}
.tg-pricing-btn-dark:hover {
  background: #1f2937;
  transform: translateY(-2px);
}

/* --- Forms --- */
.tg-form-group {
  margin-bottom: 1rem;
}
.tg-form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dax-text);
  margin-bottom: 0.35rem;
}
.tg-form-input {
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--dax-input-line);
  background: #fff;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.tg-form-input.pl-9 { padding-left: 2.25rem; }
.tg-form-input.pl-10 { padding-left: 2.5rem; }
.tg-form-input.pl-11 { padding-left: 2.75rem; }
.tg-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}
.tg-form-group .relative.flex.items-center > .absolute.left-3 {
  top: 50%;
  transform: translateY(-50%);
}
.tg-form-textarea {
  width: 100%;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--dax-input-line);
  background: #fff;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.tg-form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

/* --- Section Spacing --- */
.tg-section { padding: 5rem 0; }

/* --- CTA Section --- */
.tg-cta {
  background: var(--primary-gradient-alt);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.tg-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tg-cta-title {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}
.tg-cta-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* --- Navigation --- */
.tg-nav {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dax-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.tg-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.tg-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .tg-nav-links { display: flex; } }
.tg-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  transition: color 0.2s;
  text-decoration: none;
}
.tg-nav-link:hover { color: var(--primary); }

/* --- Dark Mode Overrides --- */
.dark .tg-card,
.dark .tg-feature-card,
.dark .tg-pricing-card {
  background: #1e293b;
  border-color: #334155;
}
.dark .tg-card-title,
.dark .tg-feature-title,
.dark .tg-pricing-name,
.dark .tg-pricing-amount {
  color: #f1f5f9;
}
.dark .tg-card-desc,
.dark .tg-feature-desc,
.dark .tg-pricing-desc {
  color: #94a3b8;
}
.dark .tg-card-link {
  background: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}
.dark .tg-card-link:hover {
  border-color: var(--primary);
  background: #1e3a5f;
  color: var(--primary-light);
}
.dark .tg-stat-card {
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(51, 65, 85, 0.9);
}
.dark .tg-stat-label { color: #94a3b8; }
.dark .tg-section { background: #0f172a; }
.dark .tg-element-title { color: #f1f5f9; }
.dark .tg-heading-desc { color: #94a3b8; }
.dark .tg-feature-title { color: #f1f5f9; }
.dark .tg-feature-desc { color: #94a3b8; }
.dark .tg-pricing-features li { color: #cbd5e1; }
.dark .tg-pricing-btn-ghost {
  border-color: #334155;
  color: #cbd5e1;
}
.dark .tg-pricing-btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: #1e3a5f;
}
.dark .tg-form-input,
.dark .tg-form-textarea {
  background: #1e293b;
  border-color: #475569;
  color: #f1f5f9;
}
.dark .tg-form-label { color: #e2e8f0; }
.dark .tg-nav {
  background: rgba(15, 23, 42, 0.85);
  border-color: #1e293b;
}
.dark .tg-nav-link { color: #94a3b8; }
.dark .tg-nav-link:hover { color: var(--primary-light); }
.dark .tg-footer { background: #020617; }

/* --- Utility --- */
.tg-gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tg-bg-primary-soft { background: var(--primary-lighter); }
.tg-text-primary { color: var(--primary); }

/* --- Responsive Grid --- */
.tg-grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .tg-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.tg-grid-6 { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .tg-grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tg-grid-6 { grid-template-columns: repeat(3, 1fr); } }

/* --- Pricing Grid --- */
.tg-pricing-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 768px) { .tg-pricing-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Alert/Session messages --- */
.tg-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tg-alert-success {
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.tg-alert-error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.dark .tg-alert-success {
  background: rgba(6, 78, 59, 0.4);
  border-color: #065f46;
  color: #6ee7b7;
}
.dark .tg-alert-error {
  background: rgba(127, 29, 29, 0.4);
  border-color: #991b1b;
  color: #fca5a5;
}

/* ============================================
   Preloader
   ============================================ */
#tg-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dark #tg-preloader { background: #0f172a; }
#tg-loading-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-loader {
  width: 48px;
  height: 48px;
  border: 4px solid var(--dax-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: tg-spin 0.8s linear infinite;
}
.dark .tg-loader { border-color: #334155; border-top-color: var(--primary); }
@keyframes tg-spin { to { transform: rotate(360deg); } }

/* ============================================
   Header / Top Bar
   ============================================ */
.tg-header-top {
  background: var(--primary-darker);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  display: none;
}
@media (min-width: 768px) { .tg-header-top { display: block; } }
.tg-header-transparent .tg-header-top {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.tg-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tg-header-top-left,
.tg-header-top-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.tg-header-top a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.tg-header-top a:hover { color: #fff; }
.tg-header-top i { margin-right: 0.35rem; }
.tg-header-top-sep {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.2);
  display: inline-block;
}

/* Header Main */
.tg-header {
  position: relative;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--dax-border);
  transition: var(--transition);
}
.dark .tg-header {
  background: #0f172a;
  border-color: #1e293b;
}
.tg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.tg-header-logo img { height: 36px; width: auto; }
.tg-header-nav {
  display: none;
  align-items: center;
}
@media (min-width: 992px) { .tg-header-nav { display: flex; } }
.tg-header-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tg-header-nav > ul > li { position: relative; }
.tg-header-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.dark .tg-header-nav > ul > li > a { color: #cbd5e1; }
.tg-header-nav > ul > li > a:hover,
.tg-header-nav > ul > li.active > a { color: var(--primary); }
.tg-header-nav > ul > li.menu-item-has-children > a::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: 0.2rem;
}

/* Sub Menu */
.tg-header-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--dax-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  z-index: 200;
}
.dark .tg-header-nav .sub-menu {
  background: #1e293b;
  border-color: #334155;
}
.tg-header-nav > ul > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tg-header-nav .sub-menu li {
  position: relative;
}
.tg-header-nav .sub-menu li a {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  color: #475569;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.dark .tg-header-nav .sub-menu li a { color: #cbd5e1; }
.tg-header-nav .sub-menu li a:hover {
  background: var(--primary-lighter);
  color: var(--primary);
}
.dark .tg-header-nav .sub-menu li a:hover {
  background: #1e3a5f;
  color: var(--primary-light);
}
/* Nested sub-menu (3rd level) */
.tg-header-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 2px;
}
.tg-header-nav .sub-menu li.menu-item-has-children > a::after {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: 0.5rem;
  float: right;
}
.tg-header-nav .sub-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sticky header */
.tg-header.tg-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  animation: tg-slideDown 0.35s ease;
}
@keyframes tg-slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
#tg-header-fixed-height.tg-active { display: block; }

/* Header actions (right side) */
.tg-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tg-header-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dax-border);
  background: transparent;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.dark .tg-header-action-btn {
  border-color: #334155;
  color: #94a3b8;
}
.tg-header-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lighter);
}

/* ============================================
   Header Transparent
   ============================================ */
.tg-header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.tg-header-transparent .tg-header-nav > ul > li > a { color: rgba(255,255,255,0.9); }
.tg-header-transparent .tg-header-nav > ul > li > a:hover { color: #fff; }
.tg-header-transparent .tg-header-action-btn {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
}
.tg-header-transparent .tg-header-action-btn:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.tg-header-transparent.tg-sticky {
  background: rgba(255,255,255,0.95);
}
.dark .tg-header-transparent.tg-sticky { background: rgba(15,23,42,0.95); }
.tg-header-transparent.tg-sticky .tg-header-nav > ul > li > a { color: #334155; }
.dark .tg-header-transparent.tg-sticky .tg-header-nav > ul > li > a { color: #cbd5e1; }
.tg-header-transparent.tg-sticky .tg-header-action-btn {
  border-color: var(--dax-border);
  color: #475569;
}
.dark .tg-header-transparent.tg-sticky .tg-header-action-btn {
  border-color: #334155;
  color: #94a3b8;
}

/* ============================================
   Mobile Menu
   ============================================ */
.tg-mobile-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--dax-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #475569;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition);
}
.dark .tg-mobile-toggler {
  border-color: #334155;
  color: #94a3b8;
}
.tg-mobile-toggler:hover {
  border-color: var(--primary);
  color: var(--primary);
}
@media (min-width: 992px) { .tg-mobile-toggler { display: none; } }

.tg-mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  z-index: 1000;
  background: #fff;
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  padding: 2rem 1.5rem;
}
.dark .tg-mobile-menu { background: #0f172a; }
.tg-mobile-menu.tg-open { right: 0; }
.tg-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.dark .tg-mobile-close { background: #1e293b; color: #94a3b8; }
.tg-mobile-close:hover { background: var(--primary); color: #fff; }
.tg-mobile-logo { margin-bottom: 1.5rem; }
.tg-mobile-logo img { height: 32px; }
.tg-mobile-nav { list-style: none; padding: 0; margin: 0; }
.tg-mobile-nav > li { border-bottom: 1px solid #f1f5f9; }
.dark .tg-mobile-nav > li { border-color: #1e293b; }
.tg-mobile-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.2s;
}
.dark .tg-mobile-nav > li > a { color: #cbd5e1; }
.tg-mobile-nav > li > a:hover { color: var(--primary); }
.tg-mobile-nav .sub-menu {
  list-style: none;
  padding-left: 1rem;
  margin: 0 0 0.5rem;
  display: none;
}
.tg-mobile-nav .sub-menu.tg-open { display: block; }
.tg-mobile-nav .sub-menu li a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  color: var(--dax-slate);
  text-decoration: none;
}
.dark .tg-mobile-nav .sub-menu li a { color: #94a3b8; }
.tg-mobile-nav .sub-menu li a:hover { color: var(--primary); }
.tg-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.tg-mobile-overlay.tg-open { opacity: 1; visibility: visible; }

.tg-mobile-search {
  margin-bottom: 1rem;
}
.tg-mobile-search form {
  display: flex;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  overflow: hidden;
}
.dark .tg-mobile-search form {
  border-color: #334155;
}
.tg-mobile-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.6rem 0.75rem;
  font-size: 0.88rem;
  background: #f8fafc;
  color: #334155;
}
.dark .tg-mobile-search input {
  background: #1e293b;
  color: #cbd5e1;
}
.tg-mobile-search input::placeholder {
  color: #94a3b8;
}
.tg-mobile-search button {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 0 0.9rem;
  cursor: pointer;
  font-size: 0.85rem;
  transition: opacity 0.2s;
}
.tg-mobile-search button:hover {
  opacity: 0.85;
}

.tg-mobile-menu-title {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.dark .tg-mobile-menu-title {
  color: var(--dax-slate);
  border-bottom-color: #1e293b;
}

.tg-mobile-social {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 0.75rem;
}
.dark .tg-mobile-social {
  border-top-color: #1e293b;
}
.tg-mobile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}
.dark .tg-mobile-social a {
  background: #1e293b;
  color: #94a3b8;
}
.tg-mobile-social a:hover {
  background: var(--primary);
  color: #fff;
}

.tg-mobile-auth {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.dark .tg-mobile-auth {
  border-top-color: #1e293b;
}
.tg-mobile-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.tg-mobile-auth-btn-login {
  background: #facc15;
  color: #00194c;
}
.tg-mobile-auth-btn-login:hover {
  background: #e6b800;
  color: #00194c;
}
.tg-mobile-auth-btn-register {
  background: var(--primary);
  color: #fff;
}
.tg-mobile-auth-btn-register:hover {
  opacity: 0.9;
  color: #fff;
}

/* ============================================
   Search Popup
   ============================================ */
.tg-search-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(255,255,255,0.98);
  padding: 2rem 1rem;
  display: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}
.dark .tg-search-popup { background: rgba(15,23,42,0.98); }
.tg-search-popup.tg-open { display: block; }
.tg-search-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 0.5rem;
}
.tg-search-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--dax-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}
.dark .tg-search-form input {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}
.tg-search-form input:focus { border-color: var(--primary); }
.tg-search-form button {
  padding: 0.85rem 1.5rem;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.tg-search-form button:hover { opacity: 0.9; }
.tg-search-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--dax-dim);
  cursor: pointer;
  transition: color 0.2s;
}
.tg-search-close:hover { color: var(--dax-text); }
.dark .tg-search-close:hover { color: #f1f5f9; }

/* ============================================
   Breadcrumbs
   ============================================ */
.tg-breadcrumb {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: var(--primary-gradient-alt);
}
.tg-breadcrumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.tg-breadcrumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}
.tg-breadcrumb-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.tg-breadcrumb-title {
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
}
.tg-breadcrumb-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.tg-breadcrumb-list a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.tg-breadcrumb-list a:hover { color: #fff; }
.tg-breadcrumb-list .sep { color: rgba(255,255,255,0.4); font-size: 0.65rem; }
.tg-breadcrumb-list .active { color: #fff; }
.tg-breadcrumb-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tg-breadcrumb-shape {
  position: absolute;
  opacity: 0.1;
}

/* ============================================
   Footer Complet
   ============================================ */
.tg-footer {
  background: #0f172a;
  color: #94a3b8;
  position: relative;
}
.tg-footer-top {
  padding: 4rem 0 2rem;
  border-bottom: 1px solid #1e293b;
}
.tg-footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .tg-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tg-footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.tg-footer-logo img { height: 34px; margin-bottom: 1rem; }
.tg-footer-about { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.tg-footer-social {
  display: flex;
  gap: 0.6rem;
}
.tg-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.tg-footer-social a:hover {
  background: var(--primary);
  color: #fff;
}
.tg-footer-title {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
}
.tg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.tg-footer-links li { font-size: 0.88rem; }
.tg-footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.tg-footer-links a:hover { color: #fff; }
.tg-footer-links a i { font-size: 0.65rem; color: var(--primary); }
.tg-footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}
.tg-footer-contact-item i {
  color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.tg-footer-contact-item a { color: #94a3b8; text-decoration: none; }
.tg-footer-contact-item a:hover { color: #fff; }
.tg-footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
}
.tg-footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .tg-footer-bottom-inner { flex-direction: row; justify-content: space-between; }
}
.tg-footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}
.tg-footer-bottom-links a {
  color: var(--dax-slate);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.tg-footer-bottom-links a:hover { color: #fff; }

/* ============================================
   Scroll to Top
   ============================================ */
.tg-scroll-top {
  position: fixed;
  bottom: 3.8rem;
  right: 2rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}
.tg-scroll-top.tg-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tg-scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.45);
}

/* ============================================
   Announcement Bar
   ============================================ */
.tg-announcement {
  background: #EDCC25;
  color: #00194c;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
}
.tg-announcement a { color: #fff; text-decoration: underline; }
.tg-announcement-dismiss {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.tg-announcement-dismiss:hover { color: #fff; }
.announcement-swiper { display: flex; align-items: center; justify-content: center; }
.announcement-swiper .swiper-slide { display: flex; align-items: center; justify-content: center; }
.announcement-swiper .swiper-slide .truncate { max-width: 600px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.announcement-swiper-prev,
.announcement-swiper-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(0,0,0,0.15); border: none; border-radius: 50%;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: inherit; font-size: 0.75rem; transition: background 0.2s;
}
.announcement-swiper-prev:hover,
.announcement-swiper-next:hover { background: rgba(0,0,0,0.3); }
.announcement-swiper-prev { left: 0.5rem; }
.announcement-swiper-next { left: 2.5rem; }

/* ============================================
   Dark Mode Toggle in Header
   ============================================ */
.tg-dark-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dax-input-line);
  background: transparent;
  color: var(--dax-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}
.tg-dark-toggle .tg-dark-icon { display: none; }
html:not(.dark) .tg-dark-toggle #dark-icon-moon { display: block; }
html.dark .tg-dark-toggle #dark-icon-sun { display: block; }
.tg-header-transparent .tg-dark-toggle {
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.dark .tg-dark-toggle {
  border-color: #334155;
  background: transparent;
  color: #fbbf24;
}
.tg-dark-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lighter);
}
.tg-header-transparent .tg-dark-toggle:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.2);
}
.dark .tg-dark-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lighter);
}

/* ============================================
   Cookie Banner
   ============================================ */
#tg-cookie-banner {
  animation: tg-slideUp 0.4s ease-out;
}
.dark #tg-cookie-banner {
  color: #e2e8f0 !important;
  border-color: #334155 !important;
}
.dark #tg-cookie-banner a,
.dark #tg-cookie-banner button {
  color: #60a5fa !important;
}
.dark #tg-cookie-banner i {
  color: #60a5fa !important;
}
@keyframes tg-slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ============================================
   Newsletter Popup Animation
   ============================================ */
[x-cloak] { display: none !important; }
[x-show="true"] {
  animation: tg-fadeIn 0.3s ease-out;
}
@keyframes tg-fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* --- Mobile Dropdown Toggle --- */
.tg-mobile-dropdown-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.5rem;
  cursor: pointer;
  color: var(--dax-slate);
  background: transparent;
  border: 0;
}
.dark .tg-mobile-dropdown-btn {
  color: #94a3b8;
}
.tg-mobile-dropdown-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.tg-mobile-dropdown-btn.active i {
  transform: rotate(180deg);
}

/* --- Form Validation States --- */
.tg-field-error {
  border-color: #f87171;
}
.dark .tg-field-error {
  border-color: #ef4444;
}
.tg-field-success {
  border-color: #34d399;
}
.dark .tg-field-success {
  border-color: #10b981;
}

/* --- CTA Section --- */
.tg-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.tg-cta-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Responsive helpers
   ============================================ */
.tg-hidden-mobile { display: none; }
@media (min-width: 768px) { .tg-hidden-mobile { display: block; } }

/* Small screens */
@media (max-width: 424px) {
  .tg-header-actions { gap: 0.35rem; }
  .tg-header-inner { height: 60px; }
  .tg-header-logo img { height: 26px; }
  .tg-header-action-btn, .tg-dark-toggle { width: 32px; height: 32px; }
  .tg-mobile-toggler { width: 32px; height: 32px; }
  .tg-hero-title { font-size: 1.75rem !important; }
}
@media (max-width: 374px) {
  .tg-header-actions { gap: 0.2rem; }
  .tg-header-action-btn, .tg-dark-toggle, .tg-mobile-toggler { width: 28px; height: 28px; font-size: 0.75rem; }
}
@media (max-width: 575px) {
  .tg-announcement .swiper-slide .truncate { max-width: 180px; }
}
@media (max-width: 424px) {
  .tg-announcement .swiper-slide .truncate { max-width: 120px; }
}

