/* ========================================== */
/* DIRECTORIO MÉDICO B2B - OFUSHI SUPPLY      */
/* ========================================== */
:root {
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-soft: #f1f5f9;
  --bg-header: #ffffff;
  --medical-primary: #0284c7;
  --medical-primary-dark: #0369a1;
  --medical-teal: #0d9488;
  --medical-teal-soft: rgba(13, 148, 136, 0.12);
  --medical-blue-soft: rgba(2, 132, 199, 0.10);
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-medical: rgba(2, 132, 199, 0.22);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 36px rgba(2, 132, 199, 0.12);
}

body {
  background-color: var(--bg-main) !important;
  color: var(--text-main) !important;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ========================================== */
/* BARRA SUPERIOR MÉDICA / CORPORATIVA        */
/* ========================================== */
.top-contact-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
  padding: 0.42rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1001;
}

.top-bar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--medical-teal);
  display: inline-block;
}

.top-contact-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-corp-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.icon-corp-circle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.icon-corp-circle:hover {
  background: var(--medical-blue-soft);
  border-color: var(--medical-primary);
  color: var(--medical-primary);
  transform: translateY(-1px);
}

.icon-corp-circle.whatsapp:hover {
  background: var(--medical-teal-soft);
  border-color: var(--medical-teal);
  color: var(--medical-teal);
}

/* ========================================== */
/* CABECERA FIJA / LOGO GRANDE SOBRESALIENTE   */
/* ========================================== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  padding: 0 5%;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 1000;
  box-sizing: border-box;
  width: 100%;
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.logo-ofushi {
  position: relative;
  display: flex;
  align-items: center;
  height: 76px;
  width: 280px;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-ofushi img {
  position: relative;
  height: 175px;
  max-height: none;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--medical-primary);
}

.nav-dynamic {
  display: flex;
  align-items: center;
}

.auth-buttons {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.btn-accent-outline {
  border-color: var(--medical-primary) !important;
  color: var(--medical-primary) !important;
}

.user-profile-area {
  position: relative;
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--medical-teal) 0%, var(--medical-primary) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid rgba(2, 132, 199, 0.25);
  user-select: none;
}

.user-dropdown {
  position: absolute;
  top: 46px;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  width: 220px;
  z-index: 200;
  padding: 0.5rem 0;
}

.user-email-label {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  word-break: break-all;
}

.btn-logout {
  width: 100%;
  text-align: left;
  padding: 0.7rem 1rem;
  background: none;
  border: none;
  color: #dc2626;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================================== */
/* BANNER PRINCIPAL (HERO SECTION)            */
/* ========================================== */
.hero {
  position: relative;
  text-align: center;
  padding: 4.6rem 1.5rem 2.8rem 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 15%, rgba(2, 132, 199, 0.10) 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--medical-teal-soft);
  color: var(--medical-teal);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.badge-plus {
  font-weight: 800;
}

.hero h1 {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-main);
  margin: 0 auto 1rem auto;
  max-width: 840px;
  line-height: 1.18;
}

.hero p {
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
}

/* Caja de Búsqueda Clínica / SaaS */
.search-box {
  max-width: 740px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-medical);
  border-radius: 16px;
  padding: 6px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
}

.search-box:focus-within {
  border-color: var(--medical-primary);
  box-shadow: var(--shadow-lg);
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  min-width: 0;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  background: linear-gradient(135deg, var(--medical-teal) 0%, var(--medical-primary) 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.22);
  white-space: nowrap;
}

.search-box button:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Chips de Categorías Médicas */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 780px;
  margin: 1.15rem auto 0 auto;
}

.chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--medical-primary);
  color: var(--medical-primary);
  background: var(--medical-blue-soft);
}

.chip.active {
  background: linear-gradient(135deg, var(--medical-teal) 0%, var(--medical-primary) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.18);
}

/* Indicadores del Hero */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-light);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.metric-item strong {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 700;
}

.metric-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 28px;
  background: var(--border-light);
}

/* ========================================== */
/* SECCIÓN DE PROVEEDORES                     */
/* ========================================== */
#proveedores {
  position: relative;
  min-height: 450px;
  padding: 3rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
}

#proveedores h2,
.how-it-works h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.4px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#proveedores h2::before,
.how-it-works h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, var(--medical-teal), var(--medical-primary));
  border-radius: 4px;
}

/* ========================================== */
/* ANIMACIÓN DE CARGA MÉDICA (CRUZ Y PULSO)   */
/* ========================================== */
#ofushi-loader-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#ofushi-loader-overlay.ocultar {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-copy {
  text-align: center;
}

.medical-loader-stage {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.medical-pulse-ring {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.5px solid rgba(13, 148, 136, 0.35);
  animation: medicalPulseRing 1.8s ease-out infinite;
}

.medical-cross-badge {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--medical-teal) 0%, var(--medical-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.25);
  animation: medicalBeat 1.4s ease-in-out infinite;
}

.medical-cross-svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

@keyframes medicalPulseRing {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

@keyframes medicalBeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.07);
  }
}

.loader-text {
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.loader-subtext {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========================================== */
/* CUADRÍCULA Y TARJETAS DE PROVEEDORES       */
/* ========================================== */
.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.card-supplier {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: 18px !important;
  padding: 1.5rem !important;
  box-shadow: var(--shadow-sm) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.25s ease !important;
  position: relative;
  overflow: hidden;
}

.card-supplier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--medical-teal), var(--medical-primary));
  opacity: 0.85;
}

.card-supplier:hover {
  border-color: var(--medical-primary) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md) !important;
}

.supplier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.supplier-logo {
  width: 56px !important;
  height: 56px !important;
  border-radius: 14px !important;
  background: var(--bg-soft) !important;
  color: var(--medical-primary-dark) !important;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-medical);
  overflow: hidden;
  flex-shrink: 0;
}

.supplier-info h3 {
  margin: 0 0 4px 0 !important;
  font-size: 1.1rem !important;
  color: var(--text-main) !important;
  font-weight: 700;
  line-height: 1.3;
}

.supplier-info .location {
  color: var(--text-muted) !important;
  font-size: 0.83rem !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.supplier-details {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.9rem;
  margin: 0.8rem 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.supplier-details p {
  margin: 0;
}

.supplier-details strong {
  color: var(--medical-primary-dark);
}

.supplier-details span,
.supplier-description {
  color: var(--text-secondary) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--medical-teal) 0%, var(--medical-primary) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  padding: 0.8rem 1rem !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.2) !important;
  transition: all 0.2s ease !important;
  width: 100%;
  margin-top: auto;
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.48rem 0.95rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--medical-primary);
  color: var(--medical-primary);
  background: var(--medical-blue-soft);
}

/* ========================================== */
/* SECCIÓN CÓMO FUNCIONA                      */
/* ========================================== */
.how-it-works {
  padding: 2.5rem 5% 4rem 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--medical-primary-dark);
  background: var(--medical-blue-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  margin-bottom: 0.7rem;
}

.step-card h3 {
  margin: 0 0 0.45rem 0;
  font-size: 1.05rem;
  color: var(--text-main);
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ========================================== */
/* PERFIL PROFESIONAL DEL PROVEEDOR (TEMA CLARO) */
/* ========================================== */
body.provider-profile-page {
  background-color: var(--bg-main) !important;
  color: var(--text-main) !important;
}

.provider-loader-fullscreen {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999 !important;
  border-radius: 0 !important;
  border: none !important;
}

.provider-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 5% 4rem 5%;
  box-sizing: border-box;
}

.provider-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.provider-back-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.provider-badge-pill {
  background: var(--medical-teal-soft);
  color: var(--medical-teal);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.provider-hero-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.provider-main-info {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.provider-avatar-lg {
  width: 72px !important;
  height: 72px !important;
  font-size: 1.35rem !important;
}

.provider-title {
  margin: 0 0 4px 0;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-main);
}

.provider-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.provider-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.provider-catalog-section {
  margin-top: 1rem;
}

/* Armonización clara para bloques dinámicos inyectados en proveedor.js */
.provider-shell [style*="background:#0"],
.provider-shell [style*="background: #0"],
.provider-shell [style*="background:#1"],
.provider-shell [style*="background: #1"],
.provider-shell [style*="background: rgba(15, 23, 42"],
.provider-shell [style*="background:rgba(15, 23, 42"] {
  background: var(--bg-surface) !important;
  color: var(--text-main) !important;
  border-color: var(--border-light) !important;
}

.provider-shell [style*="color:#fff"],
.provider-shell [style*="color: #fff"],
.provider-shell [style*="color:#ffffff"],
.provider-shell [style*="color: #ffffff"],
.provider-shell [style*="color:#f8fafc"],
.provider-shell [style*="color: #f8fafc"] {
  color: var(--text-main) !important;
}

.provider-shell [style*="color:#94a3b8"],
.provider-shell [style*="color: #94a3b8"],
.provider-shell [style*="color:#cbd5e1"],
.provider-shell [style*="color: #cbd5e1"] {
  color: var(--text-secondary) !important;
}

/* ========================================== */
/* MODALES EN TEMA CLARO MÉDICO               */
/* ========================================== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  position: relative;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
}

.modal-card-scroll {
  max-height: 90vh;
  overflow-y: auto;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 4px;
  color: var(--text-main);
  font-size: 1.4rem;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.modal-submit {
  margin-top: 1rem;
}

.company-cta-box {
  margin-bottom: 1.2rem;
  text-align: center;
  background: var(--medical-blue-soft);
  border: 1px dashed var(--medical-primary);
  padding: 0.9rem;
  border-radius: 12px;
}

.company-cta-box p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.company-cta-box a {
  display: block;
  text-decoration: none;
}

.btn-company-cta {
  background: linear-gradient(135deg, var(--medical-teal) 0%, var(--medical-primary) 100%);
  color: #ffffff;
  font-weight: 700;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
}

.btn-register-submit {
  margin-top: 0.8rem !important;
  background: linear-gradient(135deg, var(--medical-teal) 0%, #0f766e 100%) !important;
}

.btn-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.btn-close:hover {
  color: var(--text-main);
}

.form-group {
  margin-bottom: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.form-group input {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: var(--medical-primary);
  background: var(--bg-surface);
}

.hidden {
  display: none !important;
}

/* ========================================== */
/* DISEÑO RESPONSIVO PARA CELULARES Y TABLETS */
/* ========================================== */
@media (max-width: 768px) {
  .top-contact-bar {
    padding: 0.38rem 3%;
    font-size: 0.75rem;
    justify-content: center;
    text-align: center;
  }

  .header {
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    padding: 0 3%;
    overflow: visible;
  }

  .logo-ofushi {
    height: 68px;
    width: 180px;
  }

  .logo-ofushi img {
    height: 115px;
    max-height: none;
    width: auto;
    max-width: none;
  }

  .nav {
    gap: 8px;
    flex-wrap: wrap;
  }

  .nav-links {
    display: none !important;
  }

  .hero {
    padding: 3.4rem 1rem 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.72rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }

  .search-box {
    flex-direction: column;
    padding: 10px;
    gap: 8px;
    border-radius: 14px;
  }

  .search-box input {
    width: 100%;
    padding: 0.7rem;
    text-align: center;
  }

  .search-box button {
    width: 100%;
    padding: 0.8rem;
  }

  .metric-divider {
    display: none;
  }

  #proveedores,
  .how-it-works,
  .provider-shell {
    padding: 2rem 3%;
  }

  .suppliers-grid {
    grid-template-columns: 1fr;
  }
}