/* ============================================
   SWISS VERIFIED — Design System
   Alpine Precision Philosophy
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --swiss-red: #D52B1E;
  --swiss-red-dark: #B71C1C;
  --swiss-red-light: #FDEAEA;
  --swiss-red-hover: #E8342A;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --surface: #F8F9FA;
  --surface-alt: #F1F3F5;
  --text-primary: #1A1A2E;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --gold: #C5A572;
  --gold-light: #D4B88C;
  --success: #10B981;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --shadow-sm: 0 1px 3px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 16px rgba(26,26,46,0.08);
  --shadow-lg: 0 8px 32px rgba(26,26,46,0.12);
  --shadow-xl: 0 16px 48px rgba(26,26,46,0.16);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-h: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-secondary); max-width: 680px; }

a { color: var(--swiss-red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--swiss-red-dark); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo svg, .logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--swiss-red);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--swiss-red);
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--swiss-red);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--swiss-red) !important;
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.3px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--swiss-red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(213,43,30,0.3);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--swiss-red);
  color: var(--white);
  border-color: var(--swiss-red);
}

.btn-primary:hover {
  background: var(--swiss-red-dark);
  border-color: var(--swiss-red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(213,43,30,0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--swiss-red);
  border-color: var(--swiss-red);
}

.btn-secondary:hover {
  background: var(--swiss-red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--swiss-red);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--white);
}

.btn svg { width: 18px; height: 18px; }

/* --- SECTIONS --- */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--swiss-red);
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header p {
  margin: 0 auto;
  font-size: 1.1rem;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--swiss-red) 0%, var(--swiss-red-dark) 100%);
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.5) 60px, rgba(255,255,255,0.5) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.5) 60px, rgba(255,255,255,0.5) 61px);
}

.hero-mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  opacity: 0.08;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-shield {
  width: 340px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.3));
  animation: floatShield 6s ease-in-out infinite;
}

@keyframes floatShield {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

/* --- STATS BAR --- */
.stats-bar {
  background: var(--white);
  padding: 0;
  margin-top: -60px;
  position: relative;
  z-index: 3;
}

.stats-bar .container {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--swiss-red);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- HOW IT WORKS --- */
.how-it-works {
  background: var(--surface);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--swiss-red), var(--border));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--swiss-red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-icon svg {
  width: 36px;
  height: 36px;
  color: var(--swiss-red);
}

.step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 28px;
  height: 28px;
  background: var(--swiss-red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.step-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.step-card p {
  margin: 0 auto;
  font-size: 0.95rem;
}

/* --- INDUSTRIES GRID --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

a.industry-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 16px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.industry-card:hover {
  border-color: var(--swiss-red);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.industry-icon lord-icon {
  width: 64px;
  height: 64px;
}

.industry-icon svg {
  width: 26px;
  height: 26px;
  color: var(--swiss-red);
  transition: var(--transition);
}

.industry-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* --- MAP PREVIEW --- */
.map-preview {
  background: var(--text-primary);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.map-preview h2 { color: var(--white); }
.map-preview .label { color: var(--gold) !important; }
.map-preview p { color: rgba(255,255,255,0.7); }

.map-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.map-container svg {
  width: 100%;
  height: auto;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

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

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  max-width: 100%;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--swiss-red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--swiss-red);
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* --- CTA SECTION --- */
.cta-section {
  background: linear-gradient(135deg, var(--swiss-red) 0%, var(--swiss-red-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-section h2 { color: var(--white); position: relative; }
.cta-section p {
  color: rgba(255,255,255,0.85);
  margin: 0 auto 40px;
  font-size: 1.15rem;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  position: relative;
}

/* --- FOOTER --- */
.footer {
  background: var(--text-primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.7;
}

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--swiss-red);
  border-color: var(--swiss-red);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.5);
}

.footer-social a:hover svg {
  color: var(--white);
}

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--swiss-red) 0%, var(--swiss-red-dark) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.5) 40px, rgba(255,255,255,0.5) 41px);
}

.page-hero h1 { color: var(--white); position: relative; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); margin: 0 auto; position: relative; font-size: 1.1rem; }

.breadcrumb {
  position: relative;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }

/* --- CARDS GENERIC --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

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

/* --- PRICING TABLE --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--swiss-red);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Beliebt';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--swiss-red);
  color: var(--white);
  padding: 4px 20px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--swiss-red);
  margin-bottom: 12px;
}

.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  text-align: left;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* --- FAQ / ACCORDION --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: 24px 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-light);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--swiss-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* --- DIRECTORY / COMPANY CARDS --- */
.directory-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--white);
}

.search-box input:focus {
  outline: none;
  border-color: var(--swiss-red);
  box-shadow: 0 0 0 3px rgba(213,43,30,0.1);
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-light);
}

.filter-select {
  padding: 14px 40px 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--swiss-red);
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}

.company-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--swiss-red-light);
}

.company-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-right: 110px;
}

.company-logo-placeholder {
  width: 52px;
  height: 52px;
  background: var(--surface);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--swiss-red);
  flex-shrink: 0;
}

.company-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.company-location {
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.company-location svg {
  width: 13px;
  height: 13px;
}

.company-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.company-tag {
  padding: 4px 12px;
  background: var(--surface);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.company-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(16,185,129,0.08);
  color: var(--success);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.company-badge svg {
  width: 14px;
  height: 14px;
}

.company-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* --- FORMS --- */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--swiss-red);
  box-shadow: 0 0 0 3px rgba(213,43,30,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* --- NEWS CARDS --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

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

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--swiss-red-light) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-image svg {
  width: 48px;
  height: 48px;
  color: var(--swiss-red);
  opacity: 0.3;
}

.news-body {
  padding: 28px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.news-card p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.news-link {
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.news-link:hover svg {
  transform: translateX(4px);
}

/* --- TIMELINE --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 3px solid var(--swiss-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-dot svg {
  width: 28px;
  height: 28px;
  color: var(--swiss-red);
}

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex: 1;
}

.timeline-content h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.timeline-content p {
  font-size: 0.95rem;
}

/* --- CONTACT GRID --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.contact-info-card svg {
  width: 28px;
  height: 28px;
  color: var(--swiss-red);
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 auto;
}

/* --- VALUES GRID (About page) --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
}

.value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--swiss-red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon svg {
  width: 32px;
  height: 32px;
  color: var(--swiss-red);
}

.value-card h3 { margin-bottom: 12px; font-size: 1.3rem; }
.value-card p { margin: 0 auto; font-size: 0.95rem; }

/* --- BENEFITS (For Companies) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.benefit-card {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--swiss-red-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  color: var(--swiss-red);
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.92rem;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- LANGUAGE SWITCHER --- */
.lang-switch {
  display: flex;
  gap: 2px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
  white-space: nowrap;
}

.lang-switch a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 4px 6px;
  border-radius: 4px;
}

.lang-switch a.active {
  background: var(--swiss-red);
  color: var(--white);
}

/* --- RESPONSIVE --- */
@media (max-width: 1400px) {
  :root { --header-h: 64px; }

  /* Mobile/hamburger navigation at 1200px and below (covers 14" laptops) */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 0;
    z-index: 999;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 16px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }

  .nav-cta {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .lang-switch {
    margin: 16px 0 0;
    padding: 16px 0 0;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .menu-toggle { display: flex; }

  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 0; }
  .hero p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-shield { width: 240px; }
  .stats-bar .container { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: scale(1); }
  .contact-grid { grid-template-columns: 1fr; }
  .directory-controls { flex-wrap: wrap; }
  .directory-controls .search-box { flex: 1 1 100%; min-width: 0; }
  .directory-controls .filter-select { flex: 1 1 auto; min-width: 0; }
}

@media (max-width: 768px) {

  section { padding: 60px 0; }

  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar .container { grid-template-columns: 1fr 1fr; padding: 32px 28px; }
  .stat-item:not(:last-child)::after { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .companies-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info-cards { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .container { grid-template-columns: 1fr; }
}

/* ============================================
   ADMIN PANEL
   ============================================ */

/* ── Login page ── */
.admin-login-body {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.admin-login-wrap {
  width: 100%;
  max-width: 420px;
}

.admin-login-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px 40px;
  box-shadow: var(--shadow-lg);
}

.admin-login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.admin-login-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-top: 12px;
  color: var(--text-primary);
}

.admin-login-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: none;
  margin-top: 2px;
}

.admin-login-form .form-group {
  margin-bottom: 18px;
}

.admin-login-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.admin-login-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.admin-login-form input:focus {
  border-color: var(--swiss-red);
  box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.08);
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 42px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  padding: 2px;
  display: flex;
  align-items: center;
}

.toggle-password:hover { color: var(--text-secondary); }

.login-error {
  background: var(--swiss-red-light);
  color: var(--swiss-red-dark);
  border: 1px solid rgba(213,43,30,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.btn-login {
  width: 100%;
  padding: 13px;
  background: var(--swiss-red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.btn-login:hover:not(:disabled) { background: var(--swiss-red-dark); }
.btn-login:disabled { opacity: 0.7; cursor: not-allowed; }

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.admin-login-back {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  max-width: none;
}

.admin-login-back a { color: var(--text-secondary); }
.admin-login-back a:hover { color: var(--swiss-red); }

/* ── Admin layout ── */
.admin-body {
  display: flex;
  min-height: 100vh;
  background: var(--surface);
  font-family: 'Inter', sans-serif;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.25s ease;
}

.admin-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border-light);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.admin-nav {
  flex: 1;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  position: relative;
}

.admin-nav-item:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.admin-nav-item.active {
  background: var(--swiss-red-light);
  color: var(--swiss-red);
}

.nav-badge {
  margin-left: auto;
  background: var(--swiss-red);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.admin-sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-user-email {
  font-size: 0.75rem;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-family: inherit;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.admin-logout-btn:hover {
  background: var(--swiss-red-light);
  color: var(--swiss-red);
}

/* ── Main area ── */
.admin-main {
  margin-left: 240px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.sidebar-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  display: none;
  padding: 4px;
}

.admin-page-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.admin-section {
  padding: 28px;
}

/* ── Stat cards ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon--total   { background: #EFF6FF; color: #3B82F6; }
.stat-icon--pending { background: #FFFBEB; color: #F59E0B; }
.stat-icon--approved{ background: #ECFDF5; color: #10B981; }
.stat-icon--rejected{ background: var(--swiss-red-light); color: var(--swiss-red); }

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ── Admin card ── */
.admin-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.admin-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.admin-card-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Tables ── */
.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.admin-table thead th {
  padding: 10px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--border-light);
  transition: background 0.1s;
}

.admin-table tbody tr:last-child { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--surface); }

.admin-table td {
  padding: 12px 16px;
  color: var(--text-primary);
  vertical-align: middle;
}

.table-loading, .table-empty {
  text-align: center;
  color: var(--text-light);
  padding: 32px !important;
  font-size: 0.875rem;
}

.table-actions {
  display: flex;
  gap: 6px;
}

.action-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.15s;
}

.action-btn--edit:hover  { border-color: #3B82F6; color: #3B82F6; background: #EFF6FF; }
.action-btn--delete:hover{ border-color: var(--swiss-red); color: var(--swiss-red); background: var(--swiss-red-light); }

/* ── Status badges ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}

.status-badge--pending  { background: #FFFBEB; color: #92400E; }
.status-badge--approved { background: #ECFDF5; color: #065F46; }
.status-badge--rejected { background: var(--swiss-red-light); color: var(--swiss-red-dark); }

/* ── Pending applications ── */
.section-header { margin-bottom: 20px; }
.section-desc { font-size: 0.875rem; color: var(--text-secondary); max-width: none; }

.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
}

.application-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-logo-sm {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.app-card-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-card-meta strong { font-size: 0.95rem; color: var(--text-primary); }
.app-card-meta span  { font-size: 0.78rem; color: var(--text-secondary); }

.app-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: none;
  margin: 0;
}

.app-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.app-card-details a { color: var(--swiss-red); font-size: 0.78rem; }

.app-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-approve, .btn-reject, .btn-edit-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}

.btn-approve {
  background: #ECFDF5;
  color: #065F46;
  border-color: #A7F3D0;
}

.btn-approve:hover { background: #D1FAE5; }

.btn-reject {
  background: var(--swiss-red-light);
  color: var(--swiss-red-dark);
  border-color: rgba(213,43,30,0.2);
}

.btn-reject:hover { background: #FECACA; }

.btn-edit-sm {
  background: var(--surface);
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-edit-sm:hover { background: var(--surface-alt); color: var(--text-primary); }

/* ── Companies toolbar ── */
.companies-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.status-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}

.tab-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  background: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.tab-btn.active {
  background: var(--swiss-red);
  color: white;
}

.tab-btn:hover:not(.active) { background: var(--surface); color: var(--text-primary); }

.companies-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--text-light);
  transition: border-color 0.2s;
}

.companies-search:focus-within {
  border-color: var(--swiss-red);
  box-shadow: 0 0 0 3px rgba(213,43,30,0.08);
}

.companies-search input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: none;
  width: 200px;
}

/* ── Modals ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 24px;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal--sm { max-width: 440px; }

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.modal-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text-light);
  padding: 2px 6px;
  line-height: 1;
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.modal-close:hover { background: var(--surface); color: var(--text-primary); }

.modal-body {
  padding: 24px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.modal-grid label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.modal-grid input,
.modal-grid select,
.modal-grid textarea {
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.modal-grid input:focus,
.modal-grid select:focus,
.modal-grid textarea:focus {
  border-color: var(--swiss-red);
  box-shadow: 0 0 0 3px rgba(213,43,30,0.08);
}

.modal-grid textarea { resize: vertical; }

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.btn-primary {
  padding: 9px 20px;
  background: var(--swiss-red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-primary:hover:not(:disabled) { background: var(--swiss-red-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-secondary {
  padding: 9px 20px;
  background: var(--white);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-secondary:hover { background: var(--surface); color: var(--text-primary); }

.btn-danger {
  padding: 9px 20px;
  background: var(--swiss-red);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.btn-danger:hover { background: var(--swiss-red-dark); }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

/* ── Toast ── */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--text-primary);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}

.admin-toast--show {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .admin-sidebar {
    transform: translateX(-100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
  }
  .admin-main { margin-left: 0; }
  .sidebar-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-grid { grid-template-columns: 1fr; }
  .applications-grid { grid-template-columns: 1fr; }
  .admin-section { padding: 16px; }
}
