:root {
  /* ====== BASE 5 COLORS ====== */
  --color-base-primary: #1f2937;
  --color-base-secondary: #6366f1;
  --color-base-accent: #3b82f6;
  --color-base-success: #10b981;
  --color-base-danger: #ef4444;

  /* ====== FONT FAMILIES ====== */
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-serif: 'Georgia', serif;
  --font-mono: 'Courier New', monospace;

  /* ====== DERIVED PRIMARY COLORS ====== */
  --color-primary: var(--color-base-primary);
  --color-primary-light: #374151;
  --color-primary-lighter: #4b5563;
  --color-primary-dark: #111827;
  --color-primary-darker: #0f172a;

  /* ====== DERIVED SECONDARY COLORS ====== */
  --color-secondary: var(--color-base-secondary);
  --color-secondary-light: #818cf8;
  --color-secondary-dark: #4f46e5;

  /* ====== DERIVED ACCENT COLORS ====== */
  --color-accent: var(--color-base-accent);
  --color-accent-light: #60a5fa;
  --color-accent-dark: #1e40af;
  --color-accent-darker: #1e3a8a;

  /* ====== DERIVED SUCCESS COLORS ====== */
  --color-success: var(--color-base-success);
  --color-success-light: #34d399;
  --color-success-dark: #059669;

  /* ====== DERIVED DANGER COLORS ====== */
  --color-danger: var(--color-base-danger);
  --color-danger-light: #f87171;
  --color-danger-dark: #dc2626;

  /* ====== NEUTRAL COLORS (derived from primary + white/black) ====== */
  --color-bg: #f9fafb;
  --color-bg-light: #ffffff;
  --color-bg-lighter: #f3f4f6;
  --color-text: #111827;
  --color-text-light: #6b7280;
  --color-text-lighter: #9ca3af;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;

  /* ====== EFFECTS ====== */
  --transition-base: 0.3s ease;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  position: relative;
}

/* ============================================
   LAYOUT
   ============================================ */

.container-business {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ============================================
   BUSINESS HEADER
   ============================================ */

.business-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 40;
}

.business-header-top {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.business-header-top .container-business {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (min-width: 900px) {
  .business-header-top .container-business {
    flex-wrap: nowrap;
    gap: 30px;
  }
}

/* Business Brand */
.business-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  color: #fff;
}

.business-brand:hover {
  opacity: 0.9;
}

.business-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.business-logo-link:hover {
  opacity: 0.9;
}

.business-brand-info-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.business-brand-info-link:hover {
  opacity: 0.9;
}

.business-brand-info-link:hover .business-company-name,
.business-brand-info-link:hover .business-company-tagline {
  color: inherit;
}

.business-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  object-fit: contain;
}

.business-logo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}

.business-brand-info {
  min-width: 0;
  flex: 1 1 auto;
}

.business-brand-info h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.business-company-tagline {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .business-brand-info h1 {
    font-size: 16px;
  }
  
  .business-company-tagline {
    font-size: 11px;
  }
  
  .business-logo {
    width: 44px;
    height: 44px;
  }
}

/* Quick Contact */
.business-quick-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: all var(--transition-base);
  padding: 6px 0;
}

.quick-link:hover {
  gap: 12px;
}

.quick-link .icon {
  font-size: 16px;
}

/* Social Icons */
.business-socials {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  order: 2;
}

@media (max-width: 899px) {
  .business-socials {
    order: 3;
    width: 100%;
    justify-content: center;
  }
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: scale(1.1);
}

/* Navigation */
.business-nav {
  background: rgba(0, 0, 0, 0.2);
}

.business-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.business-nav-list::-webkit-scrollbar {
  height: 4px;
}

.business-nav-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.nav-link {
  display: inline-block;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.business-main {
  min-height: 60vh;
  padding: 40px 0;
  width: 100%;
  overflow-x: hidden;
}

/* ============================================
   STAFF CARDS
   ============================================ */

.staff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .staff-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.staff-card {
  background: var(--color-bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border);
}

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

.staff-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}

.staff-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.staff-info {
  padding: 20px;
}

.staff-name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.staff-title {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.staff-bio {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}

.staff-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-light);
}

.contact-item-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.staff-socials {
  display: flex;
  gap: 8px;
}

.staff-social-link {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 10px;
  transition: all var(--transition-base);
}

.staff-social-link:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ============================================
   SECTION STYLES
   ============================================ */

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

.section-header h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--color-primary);
}

.section-header p {
  font-size: 15px;
  color: var(--color-text-light);
  margin: 0;
}

/* ============================================
   BUSINESS FOOTER
   ============================================ */

.business-footer {
  background: var(--color-primary);
  color: #fff;
  padding: 48px 0 20px;
  margin-top: 60px;
}

.business-footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 900px) {
  .business-footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-logo-link:hover {
  opacity: 0.9;
}

.footer-brand-name-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.footer-brand-name-link:hover {
  opacity: 0.9;
}

.footer-brand-name-link:hover span {
  color: inherit;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand span {
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}

.business-logo-placeholder {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.footer-logo-placeholder {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.footer-section p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 12px;
}

.footer-description {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 8px 0 0;
}

.footer-stats {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.location-flag {
  font-size: 20px;
  flex-shrink: 0;
}

.location-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}

.location-item p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

.services-list,
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.services-list li,
.footer-links li {
  font-size: 13px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

.business-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

.footer-copyright a {
  color: var(--color-accent);
  text-decoration: none;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

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

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 11px;
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* ============================================
   FOOTER PAYMENT LOGOS
   ============================================ */

.footer-payment-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: 8px;
}

.footer-payment-logos img {
  width: 60px;
  height: auto;
  opacity: 0.8;
  object-fit: contain;
}

.footer-legal-links {
  font-size: 0.85rem;
  margin: 8px 0 0;
  opacity: 0.8;
}

.footer-legal-links a {
  font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .business-header-top {
    padding: 16px 0;
  }

  .business-header-top .container-business {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .business-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .business-socials {
    display: none;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .business-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}
