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

/* -------------------------------------------------------------
   SYSTEM VARIABLES & THEMING
   ------------------------------------------------------------- */
:root, html[data-theme="light"] {
  --bg-main: #F8F9FA;
  --bg-surface: #FFFFFF;
  --bg-surface-glass: rgba(255, 255, 255, 0.85);
  
  --text-primary: #0F172A;
  --text-muted: #64748B;
  --text-on-primary: #FFFFFF;
  
  --border: #E2E8F0;
  --border-focus: #3B82F6;
  --border-radius: 16px;
  --border-width: 1px;
  
  --primary-color: #2563EB;
  --primary-hover: #1D4ED8;
  --primary-gradient: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  --secondary-color: #0EA5E9;
  
  --color-verified: #059669;
  --color-rating: #D97706;
  --color-danger: #EF4444;
  
  --shadow: 0 10px 30px -10px rgba(148, 163, 184, 0.15), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-hover: 0 20px 40px -10px rgba(148, 163, 184, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-family: 'Outfit', sans-serif;
}

html[data-theme="dark"] {
  --bg-main: #0B0F19;
  --bg-surface: #1E293B;
  --bg-surface-glass: rgba(30, 41, 59, 0.7);
  
  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --text-on-primary: #FFFFFF;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: #6366F1;
  --border-radius: 16px;
  --border-width: 1px;
  
  --primary-color: #6366F1;
  --primary-hover: #4F46E5;
  --primary-gradient: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
  --secondary-color: #06B6D4;
  
  --color-verified: #10B981;
  --color-rating: #F59E0B;
  --color-danger: #EF4444;
  
  --shadow: 0 10px 35px -10px rgba(0, 0, 0, 0.5), 0 1px 5px rgba(255, 255, 255, 0.01);
  --shadow-hover: 0 20px 45px -10px rgba(99, 102, 241, 0.15);
}

html[data-theme="brutalism"] {
  --bg-main: #FFFBEB;
  --bg-surface: #FFFFFF;
  --bg-surface-glass: #FFFFFF;
  
  --text-primary: #000000;
  --text-muted: #52525B;
  --text-on-primary: #FFFFFF;
  
  --border: #000000;
  --border-focus: #000000;
  --border-radius: 4px;
  --border-width: 3px;
  
  --primary-color: #A855F7;
  --primary-hover: #C084FC;
  --primary-gradient: none;
  --secondary-color: #06B6D4;
  
  --color-verified: #84CC16;
  --color-rating: #EAB308;
  --color-danger: #EF4444;
  
  --shadow: 4px 4px 0px #000000;
  --shadow-hover: 8px 8px 0px #000000;
}

/* -------------------------------------------------------------
   RESET & BASE STYLES
   ------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Elegant Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

/* -------------------------------------------------------------
   LAYOUT COMPONENTS & NAVBAR
   ------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-width) solid var(--border);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient, var(--primary-color));
  transition: var(--transition);
}

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

/* -------------------------------------------------------------
   THEME CUSTOMIZER PANEL (FLOATING)
   ------------------------------------------------------------- */
.theme-panel-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 99px;
  background: var(--primary-gradient, var(--primary-color));
  border: var(--border-width) solid var(--border);
  box-shadow: var(--shadow-hover);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-primary);
  font-size: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-panel-btn:hover {
  transform: scale(1.1) rotate(15deg);
}

.theme-panel {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 320px;
  background-color: var(--bg-surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.theme-panel-header {
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.theme-panel-close {
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1rem;
  background: none;
  border: none;
}

.theme-option-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-option-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.theme-btn {
  background: var(--bg-main);
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.theme-btn:hover, .theme-btn.active {
  border-color: var(--primary-color);
  background: var(--bg-surface);
  transform: translateY(-2px);
}

.theme-customizers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.color-input-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.color-input-container label {
  font-size: 0.8rem;
  font-weight: 500;
}

.color-picker-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-main);
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  padding: 0.35rem;
}

.color-picker-wrapper input[type="color"] {
  border: none;
  background: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  border-radius: 4px;
}

.color-value {
  font-size: 0.8rem;
  font-family: monospace;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
   UTILITY CLASSES & BUTTONS
   ------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  border: var(--border-width) solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-family);
}

.btn-primary {
  background: var(--primary-gradient, var(--primary-color));
  color: var(--text-on-primary);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.btn-secondary:hover {
  background-color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 6px;
  text-transform: none;
  letter-spacing: normal;
  flex-shrink: 0; /* Evita que el badge se encoja en flexbox */
}

.badge-verified {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--color-verified);
  border: 1px solid rgba(16, 185, 129, 0.05);
}

.badge-rating {
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--color-rating);
  border: 1px solid rgba(245, 158, 11, 0.05);
}

/* -------------------------------------------------------------
   EXPLORER PAGE (INDEX)
   ------------------------------------------------------------- */
.explorer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media(min-width: 992px) {
  .explorer-layout {
    grid-template-columns: 1.2fr 0.8fr;
    height: calc(100vh - 100px);
    overflow: hidden;
  }
}

.explorer-feed {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

@media(min-width: 992px) {
  .explorer-feed {
    overflow-y: auto;
    padding-right: 0.75rem;
  }
}

.explorer-map-container {
  height: 350px;
  background-color: var(--bg-surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

@media(min-width: 992px) {
  .explorer-map-container {
    height: 100%;
  }
}

/* Mock Map Styling */
.mock-map {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #E5E7EB 0%, #D1D5DB 100%);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

html[data-theme="dark"] .mock-map {
  background: radial-gradient(circle at center, #1E293B 0%, #0F172A 100%);
}

html[data-theme="brutalism"] .mock-map {
  background: repeating-linear-gradient(45deg, #FFFBEB, #FFFBEB 10px, #FEF3C7 10px, #FEF3C7 20px);
}

.map-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.15;
}

.map-marker {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient, var(--primary-color));
  border: 3px solid #FFFFFF;
  border-radius: 99px 99px 0 99px;
  transform: translate(-50%, -50%) rotate(45deg);
  cursor: pointer;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

html[data-theme="brutalism"] .map-marker {
  border: 3px solid #000000;
  border-radius: 0;
}

.map-marker:hover, .map-marker.active {
  transform: translate(-50%, -60%) rotate(45deg) scale(1.15);
  box-shadow: var(--shadow-hover);
  border-color: var(--secondary-color);
}

.map-marker-content {
  transform: rotate(-45deg);
  color: var(--text-on-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

/* -------------------------------------------------------------
   CARDS & BENTO GRID
   ------------------------------------------------------------- */
.card {
  background-color: var(--bg-surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
}

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

.project-card {
  display: flex;
  flex-direction: column;
}

@media(min-width: 576px) {
  .project-card {
    flex-direction: row;
    height: 260px;
  }
}

.project-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  flex-shrink: 0;
}

@media(min-width: 576px) {
  .project-image-wrapper {
    width: 260px;
    height: 100%;
  }
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  min-width: 0; /* Evita que los flex-items rompan la caja si hay títulos largos */
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.project-pro-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.project-pro-img {
  width: 24px;
  height: 24px;
  border-radius: 99px;
  object-fit: cover;
}

.project-pro-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-pro-name:hover {
  color: var(--primary-color);
}

.project-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.project-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* -------------------------------------------------------------
   BENTO GRID (PORTFOLIO)
   ------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

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

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

.bento-item {
  position: relative;
  min-height: 200px;
}

.bento-item-large {
  grid-row: span 2;
  min-height: 420px;
}

.bento-item-wide {
  grid-column: span 1;
}

@media(min-width: 768px) {
  .bento-item-wide {
    grid-column: span 2;
  }
}

/* -------------------------------------------------------------
   DASHBOARD & FORM STYLES
   ------------------------------------------------------------- */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media(min-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media(min-width: 576px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  padding: 1.25rem;
  text-align: center;
}

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

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-control {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--border-focus);
  background-color: var(--bg-surface);
}

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

.image-upload-area {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  background-color: var(--bg-main);
  transition: var(--transition);
}

.image-upload-area:hover {
  border-color: var(--primary-color);
  background-color: var(--bg-surface);
}

.image-upload-icon {
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* -------------------------------------------------------------
   QR & LINK GENERATOR MODAL
   ------------------------------------------------------------- */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  margin: 1rem 0;
  width: max-content;
  margin-inline: auto;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  background-color: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  position: relative;
}

.qr-code-lines {
  width: 150px;
  height: 150px;
  background: repeating-conic-gradient(from 45deg, #0F172A 0% 25%, transparent 0% 50%) 50% / 20px 20px;
  opacity: 0.85;
}

.qr-logo-badge {
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #2563EB;
  color: #FFFFFF;
  font-weight: 800;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 3px solid #FFFFFF;
}

/* -------------------------------------------------------------
   MODAL DIALOGS
   ------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background-color: var(--bg-surface);
  border: var(--border-width) solid var(--border);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  transform: translateY(-20px);
  transition: var(--transition);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* -------------------------------------------------------------
   REVIEWS & TESTIMONIALS
   ------------------------------------------------------------- */
.reviews-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.review-card {
  padding: 1.25rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-client {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-client-avatar {
  width: 32px;
  height: 32px;
  border-radius: 99px;
  background-color: var(--primary-color);
  color: var(--text-on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

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

.review-project-tag {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.review-rating {
  color: var(--color-rating);
  display: flex;
  gap: 0.1rem;
  font-size: 0.85rem;
}

.review-comment {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-top: 0.75rem;
}

/* -------------------------------------------------------------
   TOAST NOTIFICATIONS SYSTEM
   ------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99999;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background-color: var(--bg-surface);
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 320px;
  max-width: 420px;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.toast-success {
  border-left: 4px solid var(--color-verified);
}

.toast-error {
  border-left: 4px solid var(--color-rating);
}

.toast-info {
  border-left: 4px solid var(--primary-color);
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.toast-message {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.3;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(1.5rem) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateY(-0.5rem) scale(0.95);
  }
}

/* -------------------------------------------------------------
   FOOTER STYLES
   ------------------------------------------------------------- */
.footer {
  background-color: var(--bg-surface);
  border-top: var(--border-width) solid var(--border);
  padding: 3rem 1.5rem 1.5rem 1.5rem;
  margin-top: 4rem;
  box-shadow: var(--shadow);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 32px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-info {
  flex: 1;
  min-width: 250px;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-info {
    text-align: left;
  }
}

.footer-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-info .company-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.footer-info .company-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-info .company-links a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: var(--border-width) solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

