/* ZijiBusiness - Main Stylesheet */
/* Design System based on specifications v2.0 */

/* ================================
   CSS VARIABLES
   ================================ */
:root {
  /* Colors */
  --primary-navy: #0F172A;
  --trust-blue: #0369A1;
  --professional-gold: #B45309;
  --background: #F8FAFC;
  --surface: #FFFFFF;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --border: #E2E8F0;
  --success: #059669;
  --error: #DC2626;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  
  /* Transitions */
  --transition-fast: 200ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
}

/* ================================
   RESET & BASE
   ================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--trust-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-navy);
}

/* ================================
   TYPOGRAPHY
   ================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-navy);
}

h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin-bottom: var(--space-4);
}

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

.text-center {
  text-align: center;
}

/* ================================
   LAYOUT
   ================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-16) 0;
}

.section-alt {
  background-color: var(--surface);
}

/* ================================
   BUTTONS
   ================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: var(--surface);
}

.btn-primary:hover {
  background-color: #1E293B;
  color: var(--surface);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

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

.btn-gold {
  background-color: var(--professional-gold);
  color: var(--surface);
}

.btn-gold:hover {
  background-color: #92400E;
  color: var(--surface);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ================================
   LANGUAGE SWITCHER
   ================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 16px;
}

.lang-switcher select {
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

/* ================================
   NAVIGATION
   ================================ */
.navbar {
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-navy);
}

.logo span {
  color: var(--professional-gold);
}

/* Logo Image Styles - Height 38px (proportional width ~222px) */
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: height var(--transition-fast);
}

.navbar .logo-img {
  height: 38px;
}

/* Responsive logo sizes */
@media (max-width: 768px) {
  .navbar .logo-img {
    height: 32px;
  }
}

@media (max-width: 480px) {
  .navbar .logo-img {
    height: 28px;
  }
}

@media (max-width: 390px) {
  .navbar .logo-img {
    height: 24px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  padding: var(--space-2) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--professional-gold);
  transition: width var(--transition-fast);
}

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

.nav-links a:hover {
  color: var(--primary-navy);
}

/* Dropdown menu styles */
.nav-links li {
  position: relative;
}

.nav-links .dropdown-toggle::after {
  content: '';
  font-size: 10px;
  margin-left: 4px;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.nav-links .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 1001;
}

.nav-links li:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background-color var(--transition-fast);
}

.dropdown a:hover {
  background-color: var(--background);
  color: var(--primary-navy);
}

.dropdown a::after {
  display: none;
}

/* Active state for dropdown items */
.dropdown a.active {
  color: var(--professional-gold);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-navy);
  transition: all var(--transition-fast);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1E293B 100%);
  color: var(--surface);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-home.jpg') center/cover;
  opacity: 0.25;
}

/* Page-specific hero backgrounds - v3 */
.hero-home::before { background-image: url('../images/hero-home-v3.jpg'); }
.hero-services::before { background-image: url('../images/hero-services-v3.jpg'); }
.hero-how::before { background-image: url('../images/hero-how-v3.jpg'); }
.hero-about::before { background-image: url('../images/hero-about-v3.jpg'); }
.hero-contact::before { background-image: url('../images/hero-contact-v3.jpg'); }
.hero-portal::before { background-image: url('../images/hero-portal-v3.jpg'); }
.hero-legal::before { background-image: url('../images/hero-legal.jpg'); }
.hero-payment::before { background-image: url('../images/hero-payment.jpg'); }
.hero-security::before { background-image: url('../images/hero-security.jpg'); }
.hero-briefing::before { background-image: url('../images/hero-briefing.jpg'); }

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--surface);
  margin-bottom: var(--space-6);
  max-width: 800px;
}

.hero p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
  background-color: transparent;
  color: var(--surface);
  border-color: var(--surface);
}

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

/* ================================
   TRUST BAR
   ================================ */
.trust-bar {
  background-color: var(--surface);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border);
}

.trust-content {
  text-align: center;
}

.trust-content p {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--border);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================================
   CARDS
   ================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--background);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: 24px;
}

.card h3 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ================================
   SECTION HEADER - JERARQUÍA
   ================================ */

/* NIVEL 1: HEADER PRINCIPAL (Featured)
   Usar: Solo para el PRIMER tema principal de una página
   Estructura: icon + content
   Visual: Más grande, más prominente */
.section-header--featured {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 var(--space-8) 0;
  padding-bottom: var(--space-6);
  border-bottom: 3px solid var(--border);
  max-width: none;
  text-align: left;
}

.section-header--featured .section-header__icon {
  width: 72px;
  height: 72px;
  background-color: var(--background);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.section-header--featured .section-header__content {
  flex: 1;
}

.section-header--featured h2 {
  margin-bottom: 8px;
  font-size: 40px;
  font-weight: 800;
}

.section-header--featured p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 18px;
}

/* NIVEL 2: SUB-TOPIC (Left with icon)
   Usar: Para sub-secciones/topics dentro de una página
   Estructura: icon + content  
   Visual: Más compacto que featured */
.section-header--left {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 var(--space-6) 0;
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--border);
  max-width: none;
  text-align: left;
}

.section-header--left .section-header__icon {
  width: 56px;
  height: 56px;
  background-color: var(--background);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.section-header--left .section-header__content {
  flex: 1;
}

.section-header--left h2 {
  margin-bottom: 4px;
  font-size: 28px;
  font-weight: 700;
}

.section-header--left p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 16px;
}

/* NIVEL 3: SIMPLE (Centered, no icon)
   Usar: Para títulos simples sin icono
   Visual: Centrado, sin decoración */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
  font-size: 36px;
  font-weight: 700;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  .section-header--featured {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .section-header--featured .section-header__icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
  
  .section-header--featured h2 {
    font-size: 32px;
  }
  
  .section-header--left {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .section-header--left .section-header__icon {
    margin: 0 auto;
  }
  
  .section-header--left h2 {
    font-size: 24px;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
}

/* ================================
   PROCESS SECTION
   ================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--border), var(--trust-blue));
}

.step-number {
  width: 64px;
  height: 64px;
  background-color: var(--primary-navy);
  color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin: 0 auto var(--space-4);
  position: relative;
  z-index: 1;
}

.process-step h4 {
  font-size: 18px;
  margin-bottom: var(--space-2);
}

.process-step p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 0;
}

/* ================================
   LOGISTICS BOX
   ================================ */
.logistics-box {
  background-color: #EFF6FF;
  border-left: 4px solid var(--trust-blue);
  padding: var(--space-6);
  border-radius: var(--radius-sm);
  margin-top: var(--space-8);
}

.logistics-box h4 {
  color: var(--trust-blue);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.logistics-box p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ================================
   STATS
   ================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

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

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--professional-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

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

/* ================================
   TESTIMONIALS
   ================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial {
  background-color: var(--surface);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: var(--professional-gold);
  margin-bottom: var(--space-3);
  font-size: 18px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--trust-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-weight: 700;
  font-size: 18px;
}

.testimonial-info h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ================================
   PRICING
   ================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.pricing-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border);
  text-align: center;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  border-color: var(--trust-blue);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--professional-gold);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--professional-gold);
  color: var(--surface);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-tier {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: var(--space-2);
}

.pricing-commission {
  font-size: 48px;
  font-weight: 800;
  color: var(--professional-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.pricing-minimum {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-6);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-6);
}

.pricing-features li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ================================
   FORMS
   ================================ */
.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.form-group label .required {
  color: var(--error);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--surface);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--trust-blue);
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1);
}

.form-control::placeholder {
  color: var(--text-secondary);
}

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

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 44px;
}

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

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

.faq-item {
  background-color: var(--surface);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  overflow: hidden;
  border: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  text-align: left;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--background);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--trust-blue);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

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

.faq-answer p {
  padding: 0 var(--space-6) var(--space-4);
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ================================
   INDUSTRY GRID
   ================================ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.industry-item {
  background-color: var(--surface);
  padding: var(--space-6);
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.industry-item:hover {
  border-color: var(--trust-blue);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  font-size: 32px;
  margin-bottom: var(--space-3);
}

.industry-item h4 {
  font-size: 16px;
  margin-bottom: 0;
}

/* ================================
   TEAM
   ================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.team-member {
  display: flex;
  gap: var(--space-6);
  background-color: var(--surface);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background-color: var(--trust-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  font-size: 48px;
  font-weight: 700;
  flex-shrink: 0;
}

.team-info h4 {
  font-size: 20px;
  margin-bottom: 4px;
}

.team-info .role {
  color: var(--professional-gold);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: var(--space-3);
}

.team-info p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-3);
}

.team-info .linkedin {
  font-size: 14px;
  font-weight: 600;
}

/* ================================
   VALUES
   ================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.value-card {
  text-align: center;
  padding: var(--space-6);
}

.value-icon {
  width: 64px;
  height: 64px;
  background-color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 28px;
}

.value-card h4 {
  font-size: 18px;
  margin-bottom: var(--space-2);
}

.value-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ================================
   CONTACT INFO
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.contact-info h3 {
  margin-bottom: var(--space-6);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--background);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background-color: var(--primary-navy);
  color: var(--surface);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand .logo {
  color: var(--surface);
  margin-bottom: var(--space-4);
  font-size: 24px;
  font-weight: 800;
}

.footer-brand .logo span {
  color: var(--professional-gold);
}

.footer-brand p {
  opacity: 0.8;
  margin-bottom: var(--space-4);
}

.footer-links h4 {
  color: var(--surface);
  font-size: 16px;
  margin-bottom: var(--space-4);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

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

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

.footer-bottom p {
  opacity: 0.6;
  font-size: 14px;
  margin-bottom: 0;
}

.legal-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: var(--surface);
}

/* ================================
   PORTAL
   ================================ */
.portal-login {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) 0;
}

.portal-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-12);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
}

.portal-card h2 {
  text-align: center;
  margin-bottom: var(--space-2);
}

.portal-card > p {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.portal-demo {
  background-color: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: var(--space-4);
  margin-top: var(--space-6);
  text-align: center;
}

.portal-demo p {
  font-size: 14px;
  color: #92400E;
  margin-bottom: var(--space-2);
}

.portal-demo code {
  background-color: #FDE68A;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
}

/* ================================
   PORTAL DASHBOARD
   ================================ */
.portal-dashboard {
  min-height: calc(100vh - 72px);
  background-color: var(--background);
  padding: var(--space-8) 0;
}

.portal-header {
  background-color: var(--surface);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.portal-header h2 {
  margin-bottom: 4px;
}

.portal-header p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.portal-stat-card {
  background-color: var(--surface);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--trust-blue);
}

.portal-stat-card.gold { border-left-color: var(--professional-gold); }
.portal-stat-card.success { border-left-color: var(--success); }

.portal-stat-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
}

.portal-stat-card .stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0;
}

.portal-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-6);
}

.portal-sidebar {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.portal-nav {
  list-style: none;
}

.portal-nav li {
  margin-bottom: 4px;
}

.portal-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.portal-nav a:hover,
.portal-nav a.active {
  background-color: var(--background);
  color: var(--trust-blue);
}

.portal-nav a.active {
  background-color: #EFF6FF;
}

.portal-main {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

/* Orders Table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  padding: 16px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.orders-table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-sourcing { background-color: #DBEAFE; color: #1E40AF; }
.status-production { background-color: #FEF3C7; color: #92400E; }
.status-qc { background-color: #E0E7FF; color: #3730A3; }
.status-ready { background-color: #D1FAE5; color: #065F46; }
.status-shipped { background-color: #F3E8FF; color: #7C3AED; }

/* ================================
   ADMIN PANEL
   ================================ */
.admin-panel {
  min-height: calc(100vh - 72px);
  background-color: var(--background);
  padding: var(--space-8) 0;
}

.admin-header {
  background-color: var(--surface);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-badge {
  background-color: var(--professional-gold);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: var(--space-6);
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
}

.admin-tab {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.admin-tab:hover {
  color: var(--trust-blue);
}

.admin-tab.active {
  color: var(--trust-blue);
  border-bottom-color: var(--trust-blue);
}

.admin-content {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.data-table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--background);
}

.data-table tr:hover {
  background-color: var(--background);
}

.admin-actions {
  display: flex;
  gap: 12px;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
}

.csv-editor {
  font-family: monospace;
  font-size: 14px;
  line-height: 1.6;
  width: 100%;
  min-height: 400px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--background);
  resize: vertical;
}

/* ================================
   UTILITY CLASSES
   ================================ */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step:nth-child(2)::after {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--surface);
    flex-direction: column;
    padding: var(--space-6);
    gap: var(--space-4);
    box-shadow: var(--shadow-md);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-actions .btn {
    display: none;
  }
  
  .hero {
    padding: var(--space-16) 0;
  }
  
  .hero h1 {
    font-size: 32px;
    text-align: center !important;
  }
  
  .hero p {
    font-size: 18px;
    text-align: center !important;
  }
  
  .hero .container {
    text-align: center !important;
  }
  
  .hero .btn {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 12px auto !important;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .process-step::after {
    display: none !important;
  }
  
  .stats-grid,
  .testimonials-grid,
  .pricing-grid,
  .industry-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-member {
    flex-direction: column;
    text-align: center;
  }
  
  .team-photo {
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  /* =========================================
     MOBILE TEXT ALIGNMENT - ALL CENTERED
     ========================================= */
  
  /* ALL cards and containers centered on mobile for modern app-like look */
  .card,
  .enhanced-card,
  .fact-box,
  .feature-box,
  .value-card,
  .testimonial,
  .pricing-card,
  .entity-box,
  .comparison-card,
  .industry-item {
    text-align: center !important;
  }
  
  /* ALL content inside cards centered */
  .card h3,
  .card h4,
  .card p,
  .card li,
  .enhanced-card h3,
  .enhanced-card p,
  .fact-box h4,
  .fact-box p,
  .feature-box h4,
  .feature-box p,
  .value-card h4,
  .value-card p,
  .testimonial h3,
  .testimonial p,
  .pricing-card h3,
  .pricing-card p,
  .pricing-card li,
  .comparison-card h3,
  .comparison-card li,
  .entity-box h4,
  .entity-box p,
  .industry-item h4 {
    text-align: center !important;
  }
  
  /* Icons always centered */
  .card-icon,
  .value-icon,
  .fact-icon,
  .feature-icon,
  .step-number,
  .industry-icon,
  .entity-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Process steps centered */
  .process-step {
    text-align: center;
  }
  
  .process-step h4,
  .process-step p {
    text-align: center;
  }
  
  /* Team member cards centered */
  .team-member {
    text-align: center;
  }
  
  .team-info h4,
  .team-info .role,
  .team-info p {
    text-align: center;
  }
  
  /* Timeline items centered */
  .timeline-item {
    text-align: center;
  }
  
  /* Feature items centered */
  .feature-item {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  
  /* Service cards centered */
  .service-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .service-icon {
    margin: 0 auto 16px auto !important;
  }
  
  .service-content,
  .service-content h3,
  .service-content p {
    text-align: center !important;
  }
  
  /* Feature grid centered */
  .feature-box h4,
  .feature-box p {
    text-align: center !important;
  }
  
  /* Tables - make scrollable */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent overflow issues */
  body {
    overflow-x: hidden;
  }
  
  .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Fix inline styled flex containers */
  div[style*="display: flex"][style*="gap"] {
    max-width: 100%;
  }
  
  /* Override any inline left-align on mobile */
  div[style*="text-align: left"],
  div[style*="text-align:left"] {
    text-align: center !important;
  }
  
  /* =========================================
     CUSTOM CARD CLASSES - MOBILE CENTERING
     ========================================= */
  
  /* Trust cards (how-it-works.html) */
  .trust-card,
  .trust-card h3,
  .trust-card p,
  .trust-card-link {
    text-align: center !important;
  }
  
  .trust-card-icon {
    margin: 0 auto 16px auto !important;
  }
  
  /* Service cards (services.html) */
  .service-card,
  .service-card-inner,
  .service-content,
  .service-content h3,
  .service-content p {
    text-align: center !important;
    align-items: center !important;
  }
  
  .service-icon {
    margin: 0 auto 16px auto !important;
  }
  
  /* Enhanced cards (index.html) */
  .enhanced-card,
  .enhanced-card h3,
  .enhanced-card p,
  .card-content,
  .card-content h3,
  .card-content p {
    text-align: center !important;
  }
  
  .enhanced-icon {
    margin: 0 auto 16px auto !important;
  }
  
  /* Entity cards/boxes */
  .entity-card,
  .entity-card h4,
  .entity-card p,
  .entity-box,
  .entity-box h4,
  .entity-box p {
    text-align: center !important;
  }
  
  /* Protection cards */
  .protection-card,
  .protection-card h3,
  .protection-card p {
    text-align: center !important;
  }
  
  /* Related cards */
  .related-card,
  .related-card h3,
  .related-card p {
    text-align: center !important;
  }
  
  .related-card-icon {
    margin: 0 auto 12px auto !important;
  }
  
  /* Advantage box */
  .advantage-box,
  .advantage-box h4,
  .advantage-box p {
    text-align: center !important;
  }
  
  /* Summary box */
  .summary-box,
  .summary-box h4,
  .summary-box p {
    text-align: center !important;
  }
  
  /* Logistics box */
  .logistics-box,
  .logistics-box h4,
  .logistics-box p {
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Sticky CTA for mobile */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--surface);
  padding: var(--space-4);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.sticky-cta .btn {
  width: 100%;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
  
  body {
    padding-bottom: 80px;
  }
}

/* ================================
   RESPONSIVE SERVICES SECTION
   For devices under 390px and 300px
   ================================ */

/* For screens less than 390px */
@media (max-width: 390px) {
  /* Services section cards - stack icon above content */
  .section .card > div[style*="grid-template-columns: auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* Center the icon and make it smaller */
  .section .card .card-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 28px !important;
    margin: 0 auto !important;
  }
  
  /* Feature grid - single column with smaller min */
  .section .card div[style*="minmax(200px, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  /* Reduce padding in feature boxes */
  .section .card div[style*="padding: 16px"] {
    padding: 12px !important;
  }
  
  /* Section header adjustments */
  .section-header h2 {
    font-size: 24px !important;
  }
  
  .section-header p {
    font-size: 14px !important;
  }
  
  /* Card padding reduction */
  .section .card {
    padding: 16px !important;
  }
}

/* For screens less than 300px */
@media (max-width: 300px) {
  /* Further reduce icon size */
  .section .card .card-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
  }
  
  /* Smaller headings */
  .section .card h3 {
    font-size: 18px !important;
  }
  
  .section .card h4 {
    font-size: 13px !important;
  }
  
  /* Reduce gaps further */
  .section .card > div {
    gap: 12px !important;
  }
  
  /* Smaller text in paragraphs */
  .section .card p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  /* Section header smaller */
  .section-header h2 {
    font-size: 20px !important;
  }
  
  /* Container padding */
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Extra small screens - ensure no overflow */
@media (max-width: 350px) {
  /* Force all grids to single column */
  .section .card div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Hide emoji icons on very small screens if needed */
  .section .card .card-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ================================
   SERVICES PAGE - CARD STYLES
   ================================ */

/* Service card base styles */
.service-card {
  margin-bottom: 32px;
}

.service-card:last-child {
  margin-bottom: 0;
}

/* Inner layout using CSS grid */
.service-card-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

/* Service icon sizing */
.service-icon {
  width: 80px;
  height: 80px;
  font-size: 36px;
  flex-shrink: 0;
}

/* Service content area */
.service-content {
  min-width: 0; /* Prevent overflow */
}

/* Service description */
.service-desc {
  margin-bottom: 24px;
}

/* Feature grid for service details */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

/* Feature box styling */
.feature-box {
  padding: 16px;
  background-color: var(--background);
  border-radius: 8px;
}

.feature-box h4 {
  font-size: 14px;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ================================
   RESPONSIVE SERVICES SECTION
   For devices under 390px and 300px
   ================================ */

/* For screens less than 390px */
@media (max-width: 390px) {
  /* Services section cards - stack icon above content */
  .service-card-inner {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* Center the icon and make it smaller */
  .service-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 28px !important;
    margin: 0 auto !important;
  }
  
  /* Feature grid - single column */
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  /* Reduce padding in feature boxes */
  .feature-box {
    padding: 12px !important;
  }
  
  /* Service description adjustments */
  .service-desc {
    margin-bottom: 16px !important;
  }
  
  /* Section header adjustments */
  .section-header h2 {
    font-size: 24px !important;
  }
  
  .section-header p {
    font-size: 14px !important;
  }
  
  /* Card padding reduction */
  .service-card {
    padding: 16px !important;
  }
}

/* For screens less than 300px */
@media (max-width: 300px) {
  /* Further reduce icon size */
  .service-icon {
    width: 48px !important;
    height: 48px !important;
    font-size: 24px !important;
  }
  
  /* Smaller headings */
  .service-content h3 {
    font-size: 18px !important;
  }
  
  .feature-box h4 {
    font-size: 13px !important;
  }
  
  /* Reduce gaps further */
  .service-card-inner {
    gap: 12px !important;
  }
  
  /* Smaller text in paragraphs */
  .service-desc,
  .feature-box p {
    font-size: 13px !important;
    line-height: 1.5 !important;
  }
  
  /* Section header smaller */
  .section-header h2 {
    font-size: 20px !important;
  }
  
  /* Container padding */
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  /* Feature box padding */
  .feature-box {
    padding: 10px !important;
  }
}

/* Extra small screens - ensure no overflow */
@media (max-width: 350px) {
  /* Force all grids to single column */
  .feature-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Center icon with flex */
  .service-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ================================
   TEAM SECTION - MOBILE CENTERING FIX
   ================================ */

/* For mobile screens - center team member photos and text */
@media (max-width: 768px) {
  .team-member {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }
  
  .team-member img {
    margin: 0 auto !important;
    display: block !important;
  }
  
  .team-info {
    text-align: center !important;
    width: 100% !important;
  }
  
  .team-info h4,
  .team-info .role,
  .team-info p {
    text-align: center !important;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .team-member img {
    width: 100px !important;
    height: 100px !important;
  }
}

/* ================================
   ENHANCED DESIGN PATTERNS
   Based on company-briefing.html
   ================================ */

/* Briefing Section Structure */
.briefing-section {
  margin-bottom: 48px;
}

.briefing-section:last-child {
  margin-bottom: 0;
}

/* 
   DEPRECATED: briefing-header - Use section-header--featured instead
   Mantenido temporalmente para compatibilidad
*/
.briefing-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 var(--space-8) 0;
  padding-bottom: var(--space-6);
  border-bottom: 3px solid var(--border);
  text-align: left;
}

.briefing-icon {
  width: 72px;
  height: 72px;
  background-color: var(--background);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.briefing-header-content {
  flex: 1;
}

.briefing-header h2 {
  margin-bottom: 8px;
  font-size: 40px;
  font-weight: 800;
}

.briefing-header p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 18px;
}

@media (max-width: 768px) {
  .briefing-header {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .briefing-icon {
    margin: 0 auto;
    width: 64px;
    height: 64px;
    font-size: 28px;
  }
  
  .briefing-header h2 {
    font-size: 32px;
  }
}

/* Fact Boxes Pattern */
.key-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.fact-box {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.fact-box:hover {
  border-color: var(--trust-blue);
  box-shadow: var(--shadow-md);
}

.fact-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.fact-box h4 {
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--primary-navy);
}

.fact-box p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Enhanced Card Pattern */
.card.enhanced-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  transition: all var(--transition-normal);
  height: 100%;
}

.card.enhanced-card:hover {
  border-color: var(--trust-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon.enhanced-icon {
  width: 64px;
  height: 64px;
  font-size: 28px;
  margin-bottom: 20px;
  background-color: #EFF6FF;
  color: var(--trust-blue);
}

.enhanced-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.enhanced-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  color: var(--primary-navy);
}

.enhanced-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
  flex: 1;
}

.enhanced-card .card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Timeline Pattern */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 32px auto 0;
}

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

.timeline-item {
  position: relative;
  padding-left: 48px;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--professional-gold);
  border: 4px solid var(--surface);
}

.timeline-year {
  font-weight: 700;
  color: var(--professional-gold);
  margin-bottom: 4px;
  font-size: 14px;
}

.timeline-content h4 {
  margin-bottom: 4px;
  font-size: 18px;
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 14px;
}

/* Briefing Grid */
.briefing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Entity Showcase */
.entity-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.entity-card {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  border: 3px solid;
  position: relative;
}

.entity-card.hk {
  border-color: #B45309;
}

.entity-card.china {
  border-color: var(--trust-blue);
}

.entity-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: inherit;
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.entity-card.hk .entity-badge {
  background-color: #B45309;
}

.entity-card.china .entity-badge {
  background-color: var(--trust-blue);
}

.entity-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.entity-card h4 {
  margin-bottom: 8px;
  font-size: 20px;
}

.entity-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 14px;
}

/* Protection Banner */
.protection-banner {
  max-width: 800px;
  margin: 32px auto 0;
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1E293B 100%);
  padding: 32px;
  border-radius: var(--radius-md);
  text-align: center;
  color: white;
}

.protection-banner h3 {
  color: white;
  margin-bottom: 12px;
  font-size: 22px;
}

.protection-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Section Header */
.section-header.enhanced {
  margin-bottom: 48px;
}

.section-header.enhanced h2 {
  font-size: 42px;
  margin-bottom: 12px;
}

.section-header.enhanced p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Briefing Patterns */
@media (max-width: 768px) {
  .briefing-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .briefing-icon {
    margin: 0 auto;
  }
  
  .entity-showcase {
    grid-template-columns: 1fr;
  }
  
  .key-facts {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .briefing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .briefing-header h2 {
    font-size: 28px;
  }
  
  .briefing-header p {
    font-size: 16px;
  }
  
  .fact-box {
    padding: 20px;
  }
  
  .card.enhanced-card {
    padding: 24px;
  }
  
  .protection-banner {
    padding: 24px;
  }
}
